mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 19:10:19 +00:00
Fix thinko in conditional.
Part of rdar://11352000 and should bring the buildbots back. llvm-svn: 156421
This commit is contained in:
parent
15662155b6
commit
218078152b
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user