[Lldb-commits] [PATCH] D108061: [lldb] Add support for shared library load when executable called through ld.

Fangrui Song via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 25 15:46:42 PDT 2021


MaskRay added inline comments.


================
Comment at: lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp:293
+  // ld.so saves empty file name for the executable file in the link map.
+  // When executable is run using ld.so, we need to be update executable path.
+  if (name.empty()) {
----------------
This sentence may be ambiguous, because all dynamically linked executables are interpreted by ld.so

"When argv[0] is ld.so"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108061



More information about the lldb-commits mailing list