maksfb wrote: @JohnLee1243, sorry I missed your ping. Could you please add a test case to `bolt/unittests/Core/BinaryContext.cpp`? This way we can test `getBaseAddressForMapping()` interface without relying on the test system and its dynamic loader. https://github.com/llvm/llvm-project/pull/65494