summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-01-07 08:30:45 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-01-07 08:33:35 +0100
commit9890cc2ef08576cc16e32aff4288e7a7821a25f7 (patch)
tree235c1be28a6bebf5e250c22c35b50438c899b74f
parent08de551f4f1087c4dd3220fee8ec328fa168168c (diff)
downloadbcm5719-llvm-9890cc2ef08576cc16e32aff4288e7a7821a25f7.tar.gz
bcm5719-llvm-9890cc2ef08576cc16e32aff4288e7a7821a25f7.zip
[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.
-rw-r--r--lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp b/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
index fa9dae0c816..399f8031bfe 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();
OpenPOWER on IntegriCloud