forked from OSchip/llvm-project
Updated LLVM to take a fix for disassembly of
Thumb branch operands. llvm-svn: 156344
This commit is contained in:
parent
3c9d9479b0
commit
0a2722d63d
|
@ -299,7 +299,7 @@ Index: lib/Target/ARM/Disassembler/ARMDisassembler.cpp
|
|||
static DecodeStatus DecodeT2BROperand(llvm::MCInst &Inst, unsigned Val,
|
||||
uint64_t Address, const void *Decoder) {
|
||||
- Inst.addOperand(MCOperand::CreateImm(SignExtend32<21>(Val)));
|
||||
+ if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<22>(Val<<1) + 4,
|
||||
+ if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<21>(Val) + 4,
|
||||
+ true, 4, Inst, Decoder))
|
||||
+ Inst.addOperand(MCOperand::CreateImm(SignExtend32<21>(Val)));
|
||||
return MCDisassembler::Success;
|
||||
|
|
Loading…
Reference in New Issue