mgorny added a comment.

In D92187#2422085 <https://reviews.llvm.org/D92187#2422085>, @labath wrote:

> What's the state of TestBreakpointInGlobalConstructor.py  after this change? 
> Does it continue to fail?

Yes, it does.

> If so, then this is probably a bug in FreeBSD that is worth reporting, as it 
> means that it is not possible to debug the initialization code (global 
> constructors, `__attribute__((init))`, etc.) of libraries loaded at startup 
> (DT_NEEDED). It might be also worth checking what gdb does in this case. If 
> gdb is able to break in this code, then it means that there is a different 
> way to fetch the loaded libraries early enough, and we could possibly emulate 
> that... (I would very much love that, as the current approach is pretty hacky 
> already)

I will check that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92187/new/

https://reviews.llvm.org/D92187

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to