[Lldb-commits] [PATCH] D138724: [lldb][Target] Flush the scratch TypeSystem when process gets deleted

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 12 05:20:20 PST 2022


Michael137 added a comment.

In D138724#3988318 <https://reviews.llvm.org/D138724#3988318>, @labath wrote:

> I just found out that this test (the non-shared-library version) fails on linux if the executable is built with `-no-pie` (which is the default if the `CLANG_DEFAULT_PIE_ON_LINUX` option is not set, which happened to be the case for my build). I think the important fact here is that a PIE ELF executable gets its `e_type` field set to `ET_DYN`, which causes lldb to identify it as a shared library. However, it is not clear to me why would that matter in this case...

Thanks for reporting, will check


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138724



More information about the lldb-commits mailing list