//===-- MemoryTagManager.h --------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_TARGET_MEMORYTAGMANAGER_H #define LLDB_TARGET_MEMORYTAGMANAGER_H #include "lldb/Target/MemoryRegionInfo.h" #include "lldb/Utility/RangeMap.h" #include "lldb/lldb-private.h" #include "llvm/Support/Error.h" namespace lldb_private { // This interface allows high level commands to handle memory tags // in a generic way. // // Definitions: // logical tag - the tag stored in a pointer // allocation tag - the tag stored in hardware // (e.g. special memory, cache line bits) // granule - number of bytes of memory a single tag applies to class MemoryTagManager { … }; } // namespace lldb_private #endif // LLDB_TARGET_MEMORYTAGMANAGER_H