[Lldb-commits] [PATCH] D49685: LLDB does not respect platform sysroot when loading core on Linux

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 27 06:34:45 PDT 2018

labath added a comment.

In https://reviews.llvm.org/D49685#1177046, @EugeneBi wrote:

> It is specific to shared libraries. Opening the executable and core dump follows different code path.

Which path is that? Is the path different even when you don't specify an executable when opening the core file (`target create --core /my/file.core`). I believe that in this case we should end up here https://github.com/llvm-mirror/lldb/blob/7c07b8a9314eef118f95b57b49fa099be0808eac/source/Plugins/Process/elf-core/ProcessElfCore.cpp#L255, which should eventually call `Platform::GetSharedModule`. Is that not the case?


More information about the lldb-commits mailing list