[Lldb-commits] [lldb] [lldb] Check for duplicate interpreter modules without loading them (PR #69932)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 23 08:08:40 PDT 2023


DavidSpickett wrote:

Following the code down into `ObjectFileELF::SetLoadAddress` for ELF, I don't see the value we get from `I->base_addr` being any different from the one we get later as `module_sp->GetObjectFile()->GetBaseAddress().GetLoadAddress`. We set `value_is_offset` to true, if it were false, then it could change and this assumption would not hold.

I've tested this on a few versions of Ubuntu across ARM, AArch64 and AMD64.

As this is the POSIX DYLD not just Linux, @emaste in case there's any FreeBSD details I need to account for.

https://github.com/llvm/llvm-project/pull/69932


More information about the lldb-commits mailing list