[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
Tue Dec 1 04:05:36 PST 2020


mgorny added a comment.

I've added some more debug as requested, and it confirmed that Linux and FreeBSD dyld are behaving differently here.

Linux triggers the breakpoint twice: first time in `add` state, including only `/lib64/ld-linux-x86-64.so.2` and `linux-vdso.so.1` in module list, and the second time in `consistent` state, adding soentries for all shared libraries.

FreeBSD triggers it only once, in `consistent` state and the remote list includes all libraries immediately.


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

https://reviews.llvm.org/D92187



More information about the lldb-commits mailing list