9#ifndef LLDB_TARGET_MEMORYTAGMAP_H
10#define LLDB_TARGET_MEMORYTAGMAP_H
MemoryTagMap provides a way to give a sparse read result when reading memory tags for a range.
std::optional< lldb::addr_t > GetTag(lldb::addr_t addr) const
Lookup the tag for address.
std::map< lldb::addr_t, lldb::addr_t > m_addr_to_tag
std::vector< std::optional< lldb::addr_t > > GetTags(lldb::addr_t addr, size_t len) const
Lookup memory tags for a range of memory from addr to addr+len.
void InsertTags(lldb::addr_t addr, const std::vector< lldb::addr_t > tags)
Insert tags into the map starting from addr.
const MemoryTagManager * m_manager
A class that represents a running process on the host machine.