Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(863)

Unified Diff: lib/CodeGen/CodeGenModule.cpp

Issue 6112056: -gline-tables-only flag for Clang (Closed) Base URL: https://llvm.org/svn/llvm-project/cfe/trunk/
Patch Set: "-gline-tables-only flag for Clang" Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/CodeGen/CodeGenFunction.cpp ('k') | lib/Driver/Tools.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/CodeGen/CodeGenModule.cpp
===================================================================
--- lib/CodeGen/CodeGenModule.cpp (revision 156159)
+++ lib/CodeGen/CodeGenModule.cpp (working copy)
@@ -1606,7 +1606,8 @@
// Emit global variable debug information.
if (CGDebugInfo *DI = getModuleDebugInfo())
- DI->EmitGlobalVariable(GV, D);
+ if (getCodeGenOpts().DebugInfo >= CodeGenOptions::LimitedDebugInfo)
+ DI->EmitGlobalVariable(GV, D);
}
llvm::GlobalValue::LinkageTypes
« no previous file with comments | « lib/CodeGen/CodeGenFunction.cpp ('k') | lib/Driver/Tools.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b