[Lldb-commits] [lldb] r233429 - Fix call to MCInstPrinter::printInst to pass MCSubtargetInfo.
Akira Hatanaka
ahatanaka at apple.com
Fri Mar 27 14:45:58 PDT 2015
Author: ahatanak
Date: Fri Mar 27 16:45:58 2015
New Revision: 233429
URL: http://llvm.org/viewvc/llvm-project?rev=233429&view=rev
Log:
Fix call to MCInstPrinter::printInst to pass MCSubtargetInfo.
The interface of this function was changed in r233411.
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=233429&r1=233428&r2=233429&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp Fri Mar 27 16:45:58 2015
@@ -518,7 +518,8 @@ DisassemblerLLVMC::LLVMCDisassembler::Pr
llvm::StringRef unused_annotations;
llvm::SmallString<64> inst_string;
llvm::raw_svector_ostream inst_stream(inst_string);
- m_instr_printer_ap->printInst (&mc_inst, inst_stream, unused_annotations);
+ m_instr_printer_ap->printInst (&mc_inst, inst_stream, unused_annotations,
+ *m_subtarget_info_ap);
inst_stream.flush();
const size_t output_size = std::min(dst_len - 1, inst_string.size());
std::memcpy(dst, inst_string.data(), output_size);
More information about the lldb-commits
mailing list