[Lldb-commits] [lldb] [lldb][DynamicLoader] Fix lldb unable to stop at _dl_debug_state if user set it before the process launched. (PR #88792)

via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 15 14:22:14 PDT 2024


jimingham wrote:

When a shared library gets loaded, its sections have to have been loaded before asking the breakpoint system to try to set new breakpoints.  Presumably this is how it happens for all the other shared library loads, or breakpoints in shared libraries wouldn't work.

I'm missing why the _dl_debug_state breakpoint is special here, such that it requires a force load of the section info?  How does that happen?

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


More information about the lldb-commits mailing list