[Lldb-commits] [lldb] 9890cc2 - [lldb] Fix LLDB build after API change to printInst (D72172)

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 6 23:34:05 PST 2020


Author: Raphael Isemann
Date: 2020-01-07T08:33:35+01:00
New Revision: 9890cc2ef08576cc16e32aff4288e7a7821a25f7

URL: https://github.com/llvm/llvm-project/commit/9890cc2ef08576cc16e32aff4288e7a7821a25f7
DIFF: https://github.com/llvm/llvm-project/commit/9890cc2ef08576cc16e32aff4288e7a7821a25f7.diff

LOG: [lldb] Fix LLDB build after API change to printInst (D72172)

It seems in D72172 we always pass a 0 as the new default argument so let's
do the same in LLDB to get the build bot running.

Added: 
    

Modified: 
    lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
index fa9dae0c816e..399f8031bfe9 100644
--- a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
+++ b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
@@ -1034,8 +1034,8 @@ void DisassemblerLLVMC::MCDisasmInstance::PrintMCInst(
   llvm::raw_string_ostream comments_stream(comments_string);
 
   m_instr_printer_up->setCommentStream(comments_stream);
-  m_instr_printer_up->printInst(&mc_inst, inst_stream, llvm::StringRef(),
-                                *m_subtarget_info_up);
+  m_instr_printer_up->printInst(&mc_inst, 0, llvm::StringRef(),
+                                *m_subtarget_info_up, inst_stream);
   m_instr_printer_up->setCommentStream(llvm::nulls());
   comments_stream.flush();
 


        


More information about the lldb-commits mailing list