OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3180d5a
)
Only emit the __debug_inlined section if we're trying to be compatible
author
Eric Christopher
<echristo@apple.com>
Thu, 23 Aug 2012 07:32:02 +0000
(07:32 +0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 23 Aug 2012 07:32:02 +0000
(07:32 +0000)
with older gdbs on darwin.
rdar://
10975874
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162436
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index
944c202
..
2c23712
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-850,7
+850,11
@@
void DwarfDebug::endModule() {
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();