r324501 - Fix r324498: the commit removed the '-' before the disable-llvm-verifier flag
    Eric Fiselier via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Feb  7 11:17:03 PST 2018
    
    
  
Author: ericwf
Date: Wed Feb  7 11:17:03 2018
New Revision: 324501
URL: http://llvm.org/viewvc/llvm-project?rev=324501&view=rev
Log:
Fix r324498: the commit removed the '-' before the disable-llvm-verifier flag
Modified:
    cfe/trunk/lib/Driver/ToolChains/Clang.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Clang.cpp?rev=324501&r1=324500&r2=324501&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Clang.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Clang.cpp Wed Feb  7 11:17:03 2018
@@ -3274,7 +3274,7 @@ void Clang::ConstructJob(Compilation &C,
 
   // 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,
    
    
More information about the cfe-commits
mailing list