[llvm-commits] [llvm] r162436 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Eric Christopher
echristo at apple.com
Thu Aug 23 00:32:02 PDT 2012
Author: echristo
Date: Thu Aug 23 02:32:02 2012
New Revision: 162436
URL: http://llvm.org/viewvc/llvm-project?rev=162436&view=rev
Log:
Only emit the __debug_inlined section if we're trying to be compatible
with older gdbs on darwin.
rdar://10975874
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=162436&r1=162435&r2=162436&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Thu Aug 23 02:32:02 2012
@@ -850,7 +850,11 @@
emitDebugMacInfo();
// Emit inline info.
- emitDebugInlineInfo();
+ // TODO: When we don't need the option anymore we
+ // can remove all of the code that this section
+ // depends upon.
+ if (DarwinGDBCompat)
+ emitDebugInlineInfo();
// Emit info into a debug str section.
emitDebugStr();
More information about the llvm-commits
mailing list