SIGN IN SIGN UP

[SharedCache] Make it faster to look up which image contains an address

`MemoryRegion` now tracks the start address of the image to which it
belongs. `SharedCache::HeaderForAddress` uses the existing address range
map to quickly find the `MemoryRegion` for a given address, and from
there can look up the image via its start address.

Some extra logic is added to `CacheInfo::Load` to populate the image
start address on `MemoryRegion` when loading from metadata that predates
this change.

The result is that `HeaderForAddress` is no longer the most expensive
part of `FindSymbolAtAddrAndApplyToAddr`.
M
Mark Rowe committed
721d24be648eccae72fe97f89f0fbd18de36af8a
Parent: c67eecc
Committed by Mason Reed <mason@vector35.com> on 4/2/2025, 9:36:54 AM