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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to