[Lldb-commits] [lldb] r206277 - Make LLDB builds against the current LLVM sources (modification on createMCDisassembler introduced by r206241)

Sylvestre Ledru sylvestre at debian.org
Tue Apr 15 05:07:25 PDT 2014


Author: sylvestre
Date: Tue Apr 15 07:07:25 2014
New Revision: 206277

URL: http://llvm.org/viewvc/llvm-project?rev=206277&view=rev
Log:
Make LLDB builds against the current LLVM sources (modification on createMCDisassembler introduced by r206241)

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=206277&r1=206276&r2=206277&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp (original)
+++ lldb/trunk/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp Tue Apr 15 07:07:25 2014
@@ -446,7 +446,7 @@ DisassemblerLLVMC::LLVMCDisassembler::LL
     
     m_context_ap.reset(new llvm::MCContext(m_asm_info_ap.get(), m_reg_info_ap.get(), 0));
     
-    m_disasm_ap.reset(curr_target->createMCDisassembler(*m_subtarget_info_ap.get()));
+    m_disasm_ap.reset(curr_target->createMCDisassembler(*m_subtarget_info_ap.get(), *m_context_ap.get()));
     if (m_disasm_ap.get() && m_context_ap.get())
     {
         std::unique_ptr<llvm::MCRelocationInfo> RelInfo(curr_target->createMCRelocationInfo(triple, *m_context_ap.get()));





More information about the lldb-commits mailing list