jimingham wrote:

ReportRetriever::SetupBreakpoint is a weird way to set a breakpoint.  This is 
somewhat off topic, but do you know why it was done this way?  You could set it 
by symbol & module and then you'd have something that survives rebuilds of the 
module, or you could set it by Address, in which case it would survive 
re-running, but instead it converts the Address to an addr_t - the most fragile 
way to set a breakpoint - and uses that...

This came up because you could (if this weren't done so oddly) handle this by 
having a list of candidate functions, and make a single breakpoint with all 
those names...

https://github.com/llvm/llvm-project/pull/84583
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to