[Lldb-commits] [lldb] [lldb] Support CommandInterpreter print callbacks (PR #125006)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 31 04:43:23 PST 2025
================
@@ -743,3 +743,15 @@ void SBCommand::SetFlags(uint32_t flags) {
if (IsValid())
m_opaque_sp->GetFlags().Set(flags);
}
+
+void SBCommandInterpreter::SetPrintCallback(
+ lldb::SBCommandPrintCallback callback, void *baton) {
+ LLDB_INSTRUMENT_VA(this, callback, baton);
+
+ if (m_opaque_ptr)
+ return m_opaque_ptr->SetPrintCallback(
----------------
labath wrote:
this isn't actually returning anything
```suggestion
m_opaque_ptr->SetPrintCallback(
```
https://github.com/llvm/llvm-project/pull/125006
More information about the lldb-commits
mailing list