mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Revert "Remove unnecessary check for Darwin. rdar://problem/16264854"
This breaks linux buildbots. Go figure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa14948a11
commit
d013411d96
@ -2837,7 +2837,7 @@ void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
|
||||
void DwarfDebug::attachLowHighPC(DwarfCompileUnit *Unit, DIE *D,
|
||||
MCSymbol *Begin, MCSymbol *End) {
|
||||
Unit->addLabelAddress(D, dwarf::DW_AT_low_pc, Begin);
|
||||
if (DwarfVersion < 4)
|
||||
if (DwarfVersion < 4 || Triple(Asm->getTargetTriple()).isOSDarwin())
|
||||
Unit->addLabelAddress(D, dwarf::DW_AT_high_pc, End);
|
||||
else
|
||||
Unit->addLabelDelta(D, dwarf::DW_AT_high_pc, End, Begin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user