diff options
| author | Adrian Prantl <aprantl@apple.com> | 2014-03-07 22:18:23 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2014-03-07 22:18:23 +0000 |
| commit | 5b573a0797c0fd9995628f11f437150f101f4b97 (patch) | |
| tree | e4e469d52cade170e80914e90a1f583889942718 /llvm/lib | |
| parent | da634f1dee69f30e3a2521e22c2031c5e6930807 (diff) | |
| download | bcm5719-llvm-5b573a0797c0fd9995628f11f437150f101f4b97.tar.gz bcm5719-llvm-5b573a0797c0fd9995628f11f437150f101f4b97.zip | |
Revert "Remove unnecessary check for Darwin. rdar://problem/16264854"
This breaks linux buildbots. Go figure.
llvm-svn: 203300
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 2062b61363a..81934e17297 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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); |

