9#ifndef LLDB_TARGET_MEMORYREGIONINFOCACHE_H
10#define LLDB_TARGET_MEMORYREGIONINFOCACHE_H
void Clear()
Remove all cached entries.
std::map< lldb::addr_t, MemoryRegionInfo > m_region_infos
void AddRegion(const MemoryRegionInfo ®ion_info)
Add a MemoryRegionInfo to the collection.
std::optional< MemoryRegionInfo > GetMemoryRegion(lldb::addr_t load_addr)
Return a MemoryRegionInfo that covers load_addr, returns empty optional if there is no entry.
MemoryRegionInfoCache()=default
A class that represents a running process on the host machine.