]> granicus.if.org Git - clang/commitdiff
Fix r324498: the commit removed the '-' before the disable-llvm-verifier flag
authorEric Fiselier <eric@efcs.ca>
Wed, 7 Feb 2018 19:17:03 +0000 (19:17 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 7 Feb 2018 19:17:03 +0000 (19:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324501 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains/Clang.cpp

index e58ae819a1cf595ddedfd9a9dc3fd259b5f5504a..ad29119c2830d7d3fe98faed9bfecf83e02ce436 100644 (file)
@@ -3274,7 +3274,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
 
   // Disable the verification pass in -asserts builds.
   if (!IsAssertBuild)
-    CmdArgs.push_back("disable-llvm-verifier");
+    CmdArgs.push_back("-disable-llvm-verifier");
 
   // Discard value names in assert builds unless otherwise specified.
   if (const Arg *A = Args.getLastArg(options::OPT_fdiscard_value_names,