diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2008-10-31 09:34:21 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-31 09:34:21 +0000 |
| commit | ada702ef45247b42511ff0fb555a8ddcba94e780 (patch) | |
| tree | 0962b88607221c78a1f7fbf2ea618aeec243fd64 | |
| parent | 61956c460a55114d070f60b8c66509460189a2b1 (diff) | |
| download | bcm5719-llvm-ada702ef45247b42511ff0fb555a8ddcba94e780.tar.gz bcm5719-llvm-ada702ef45247b42511ff0fb555a8ddcba94e780.zip | |
Turn off module verification in Release-Asserts builds.
llvm-svn: 58500
| -rw-r--r-- | clang/Driver/clang.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp index cf19c66d775..74dc7b4b499 100644 --- a/clang/Driver/clang.cpp +++ b/clang/Driver/clang.cpp @@ -1153,6 +1153,10 @@ static void InitializeCompileOptions(CompileOptions &Opts) { Opts.InlineFunctions = (Opts.OptimizationLevel > 1); Opts.UnrollLoops = (Opts.OptimizationLevel > 1 && !OptSize); Opts.SimplifyLibCalls = 1; + +#ifdef NDEBUG + Opts.VerifyModule = 0; +#endif } //===----------------------------------------------------------------------===// |

