forked from OSchip/llvm-project
Turn off module verification in Release-Asserts builds.
llvm-svn: 58500
This commit is contained in:
parent
61956c460a
commit
ada702ef45
|
@ -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
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue