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:
a249f7d
)
Fix thinko in conditional.
author
Eric Christopher
<echristo@apple.com>
Tue, 8 May 2012 21:24:39 +0000
(21:24 +0000)
committer
Eric Christopher
<echristo@apple.com>
Tue, 8 May 2012 21:24:39 +0000
(21:24 +0000)
Part of rdar://
11352000
and should bring the buildbots back.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156421
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
028116c
..
497840e
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-2050,7
+2050,7
@@
void DwarfDebug::emitDebugLoc() {
Asm->EmitInt8(dwarf::DW_OP_plus_uconst);
Asm->EmitULEB128(DV.getAddrElement(++i));
} else if (Element == DIBuilder::OpDeref) {
- if (
Entry.Loc.getOffset
())
+ if (
!Entry.Loc.isReg
())
Asm->EmitInt8(dwarf::DW_OP_deref);
} else
llvm_unreachable("unknown Opcode found in complex address");