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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to