[Lldb-commits] [lldb] r233655 - Fix call to llvm::Target::createMCInstPrinter.
Chaoren Lin
chaorenl at google.com
Mon Mar 30 17:59:13 PDT 2015
Author: chaoren
Date: Mon Mar 30 19:59:13 2015
New Revision: 233655
URL: http://llvm.org/viewvc/llvm-project?rev=233655&view=rev
Log:
Fix call to llvm::Target::createMCInstPrinter.
Modified:
lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
Modified: lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp?rev=233655&r1=233654&r2=233655&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp Mon Mar 30 19:59:13 2015
@@ -469,11 +469,11 @@ DisassemblerLLVMC::LLVMCDisassembler::LL
asm_printer_variant = flavor;
}
- m_instr_printer_ap.reset(curr_target->createMCInstPrinter(asm_printer_variant,
+ m_instr_printer_ap.reset(curr_target->createMCInstPrinter(llvm::Triple{triple},
+ asm_printer_variant,
*m_asm_info_ap.get(),
*m_instr_info_ap.get(),
- *m_reg_info_ap.get(),
- *m_subtarget_info_ap.get()));
+ *m_reg_info_ap.get()));
if (m_instr_printer_ap.get() == NULL)
{
m_disasm_ap.reset();
More information about the lldb-commits
mailing list