projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa14948
)
Revert "Remove unnecessary check for Darwin. rdar://problem/16264854"
author
Adrian Prantl
<aprantl@apple.com>
Fri, 7 Mar 2014 22:18:23 +0000
(22:18 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Fri, 7 Mar 2014 22:18:23 +0000
(22:18 +0000)
This breaks linux buildbots. Go figure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203300
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 2062b61363a637a3cb5e972963bc51fa84fa3d98..81934e1729778e9db34c3ccf22c53e4ee0c79fe8 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
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);