diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-04-27 07:24:20 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-04-27 07:24:20 +0000 |
commit | 486e1fe954af7025991da17169d852bf3ed58852 (patch) | |
tree | 1e8a1a6e9766c3a624ebd421f590d0146d9b47a4 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | e57b49ee165d7d86cf5fa83be1190483d56e12a9 (diff) | |
download | llvm-486e1fe954af7025991da17169d852bf3ed58852.zip llvm-486e1fe954af7025991da17169d852bf3ed58852.tar.gz llvm-486e1fe954af7025991da17169d852bf3ed58852.tar.bz2 |
Use enum to set debug info size generated by Clang
llvm-svn: 155697
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 2f44711..9633dec 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -219,7 +219,7 @@ void EmitAssemblyHelper::CreatePasses() { CodeGenOpts.EmitGcovArcs, TargetTriple.isMacOSX())); - if (!CodeGenOpts.DebugInfo) + if (CodeGenOpts.DebugInfo == CodeGenOptions::NoDebugInfo) MPM->add(createStripSymbolsPass(true)); } |