1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Only emit the __debug_inlined section if we're trying to be compatible

with older gdbs on darwin.

rdar://10975874

llvm-svn: 162436
This commit is contained in:
Eric Christopher 2012-08-23 07:32:02 +00:00
parent 73580f210f
commit 398a6612e1

View File

@ -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();