OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9623e46
)
Remove unnecessary check for Darwin. rdar://problem/16264854
author
Adrian Prantl
<aprantl@apple.com>
Fri, 7 Mar 2014 22:04:42 +0000
(22:04 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Fri, 7 Mar 2014 22:04:42 +0000
(22:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203297
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
81934e1
..
2062b61
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
|| Triple(Asm->getTargetTriple()).isOSDarwin()
)
+ if (DwarfVersion < 4)
Unit->addLabelAddress(D, dwarf::DW_AT_high_pc, End);
else
Unit->addLabelDelta(D, dwarf::DW_AT_high_pc, End, Begin);