[Lldb-commits] [PATCH] D92187: [lldb] [FreeBSD] Fix establishing DT_NEEDED libraries from dyld
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 30 00:24:32 PST 2020
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
More information about the lldb-commits
mailing list