mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-03 08:55:51 +00:00
Only emit the __debug_inlined section if we're trying to be compatible
with older gdbs on darwin. rdar://10975874 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3180d5a0d5
commit
9eb1a94c20
@ -850,7 +850,11 @@ void DwarfDebug::endModule() {
|
|||||||
emitDebugMacInfo();
|
emitDebugMacInfo();
|
||||||
|
|
||||||
// Emit inline info.
|
// 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.
|
// Emit info into a debug str section.
|
||||||
emitDebugStr();
|
emitDebugStr();
|
||||||
|
Loading…
Reference in New Issue
Block a user