diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-23 20:05:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-23 20:05:01 +0000 |
commit | b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1 (patch) | |
tree | ef190c0b01e7d33e2e998966b6de49bb6501818c /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 40c180db136781bbbeea248540b91ed344071efb (diff) | |
download | bcm5719-llvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.tar.gz bcm5719-llvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.zip |
Switch CodeGenOptions over to a .def file, like we do with LangOptions.
llvm-svn: 166497
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 6a665e3371b..9149e031255 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -139,7 +139,7 @@ static void addThreadSanitizerPass(const PassManagerBuilder &Builder, void EmitAssemblyHelper::CreatePasses() { unsigned OptLevel = CodeGenOpts.OptimizationLevel; - CodeGenOptions::InliningMethod Inlining = CodeGenOpts.Inlining; + CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining(); // Handle disabling of LLVM optimization, where we want to preserve the // internal module before any optimization. @@ -233,7 +233,7 @@ void EmitAssemblyHelper::CreatePasses() { CodeGenOpts.EmitGcovArcs, TargetTriple.isMacOSX())); - if (CodeGenOpts.DebugInfo == CodeGenOptions::NoDebugInfo) + if (CodeGenOpts.getDebugInfo() == CodeGenOptions::NoDebugInfo) MPM->add(createStripSymbolsPass(true)); } |