[Lldb-commits] [lldb] [lldb][Commands] Show symbol change bit in SB API (PR #66144)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 14:55:14 PDT 2023


chelcassanova wrote:

> Does this API work for eBroadcastBitSymbolsLoaded:
> 
> ```
>   static lldb::SBModule lldb::SBTarget::GetModuleAtIndexFromEvent(const uint32_t idx, const lldb::SBEvent &event);
> ```
> 
> ?
> 
> > Note, Jonas already added the Target::eBroadcastBitSymbolsChanged, but it wasn't getting dispatched because we didn't remember to tell ourselves the difference between Loaded and Changed.
> 
> Fine with either adding or overloading this. I would be nice if the SBTarget::GetModuleAtIndexFromEvent() works for both of these?

I can add this to the test as adding the bit shouldn't have changed the event_data.


https://github.com/llvm/llvm-project/pull/66144


More information about the lldb-commits mailing list