[Lldb-commits] [lldb] r181703 - Also pass the MCRegInfo to createMCAsmInfo. Follow the modification introduced in commit r181680 of llvm
Sylvestre Ledru
sylvestre at debian.org
Mon May 13 06:41:13 PDT 2013
Author: sylvestre
Date: Mon May 13 08:41:13 2013
New Revision: 181703
URL: http://llvm.org/viewvc/llvm-project?rev=181703&view=rev
Log:
Also pass the MCRegInfo to createMCAsmInfo. Follow the modification introduced in commit r181680 of llvm
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=181703&r1=181702&r2=181703&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp Mon May 13 08:41:13 2013
@@ -431,8 +431,8 @@ DisassemblerLLVMC::LLVMCDisassembler::LL
m_subtarget_info_ap.reset(curr_target->createMCSubtargetInfo(triple, "",
features_str));
- m_asm_info_ap.reset(curr_target->createMCAsmInfo(triple));
-
+ m_asm_info_ap.reset(curr_target->createMCAsmInfo(*curr_target->createMCRegInfo(triple), triple));
+
if (m_instr_info_ap.get() == NULL || m_reg_info_ap.get() == NULL || m_subtarget_info_ap.get() == NULL || m_asm_info_ap.get() == NULL)
{
m_is_valid = false;
More information about the lldb-commits
mailing list