[cfe-commits] r58500 - /cfe/trunk/Driver/clang.cpp

Daniel Dunbar daniel at zuster.org
Fri Oct 31 02:34:22 PDT 2008


Author: ddunbar
Date: Fri Oct 31 04:34:21 2008
New Revision: 58500

URL: http://llvm.org/viewvc/llvm-project?rev=58500&view=rev
Log:
Turn off module verification in Release-Asserts builds.

Modified:
    cfe/trunk/Driver/clang.cpp

Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=58500&r1=58499&r2=58500&view=diff

==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Fri Oct 31 04:34:21 2008
@@ -1153,6 +1153,10 @@
   Opts.InlineFunctions = (Opts.OptimizationLevel > 1);
   Opts.UnrollLoops = (Opts.OptimizationLevel > 1 && !OptSize);
   Opts.SimplifyLibCalls = 1;
+
+#ifdef NDEBUG
+  Opts.VerifyModule = 0;
+#endif
 }
 
 //===----------------------------------------------------------------------===//





More information about the cfe-commits mailing list