forked from OSchip/llvm-project
If the use_thumb is set, pass llvm::Triple::thumb to the InstructionLLVM.ctor() unconditionally.
Otherwise, pass m_arch.GetMachine(). Followup patch for rdar://problem/9170971. llvm-svn: 131549
This commit is contained in:
parent
5c810ce4a3
commit
5bee94ecab
|
@ -506,7 +506,7 @@ DisassemblerLLVM::DecodeInstructions
|
|||
InstructionSP inst_sp (new InstructionLLVM (inst_addr,
|
||||
inst_address_class,
|
||||
use_thumb ? m_disassembler_thumb : m_disassembler,
|
||||
m_arch.GetMachine()));
|
||||
use_thumb ? llvm::Triple::thumb : m_arch.GetMachine()));
|
||||
|
||||
size_t inst_byte_size = inst_sp->Decode (*this, data, data_offset);
|
||||
|
||||
|
|
Loading…
Reference in New Issue