[Lldb-commits] [PATCH] D92187: [lldb] [FreeBSD] Fix establishing DT_NEEDED libraries from dyld
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 30 00:17:10 PST 2020
labath added a comment.
What's the state of TestBreakpointInGlobalConstructor.py after this change? Does it continue to fail?
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)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92187/new/
https://reviews.llvm.org/D92187
More information about the lldb-commits
mailing list