[Lldb-commits] [lldb] [lldb][Commands] Show symbol change bit in SB API (PR #66144)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 12 15:16:30 PDT 2023
https://github.com/clayborg commented:
We should be able to extract the SBModuleSpec from the event in response to the eBroadcastBitSymbolChange event. This will require adding a static method to SBDebugger.h/.cpp to get the SBModuleSpec from the event:
```
static lldb::SBModuleSpec
GetModuleSpecFromEvent(const lldb::SBEvent &event);
```
You are passing a module specification to the Debugger::ReportSymbolChange(), so it should be easy to package this into a custom event and extract the data. Plenty of example of extracting data from events in SBDebugger, SBTarget and SBProcess
https://github.com/llvm/llvm-project/pull/66144
More information about the lldb-commits
mailing list