//===-- MemoryTagMap.cpp --------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// #include "lldb/Target/MemoryTagMap.h" #include <optional> usingnamespacelldb_private; MemoryTagMap::MemoryTagMap(const MemoryTagManager *manager) : … { … } void MemoryTagMap::InsertTags(lldb::addr_t addr, const std::vector<lldb::addr_t> tags) { … } bool MemoryTagMap::Empty() const { … } std::vector<std::optional<lldb::addr_t>> MemoryTagMap::GetTags(lldb::addr_t addr, size_t len) const { … } std::optional<lldb::addr_t> MemoryTagMap::GetTag(lldb::addr_t addr) const { … }