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)
llvm-svn: 324501

clang/lib/Driver/ToolChains/Clang.cpp

index e58ae81..ad29119 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,