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

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 19 15:44:52 PDT 2021


clayborg added a comment.

The code to get a memory region is on the process:

  virtual Status Process::GetMemoryRegionInfo(lldb::addr_t load_addr, MemoryRegionInfo &range_info);

Then the memory region info might have a valid name:

  ConstString region_name = range_info.GetName();

My guess in that "region_name" might contain the path we need!


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