Skip to content
Snippets Groups Projects
Commit dd913e55 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

Turn off module verification in Release-Asserts builds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58500 91177308-0d34-0410-b5e6-96231b3b80d8
parent b48fe381
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
//===----------------------------------------------------------------------===//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment