llvm/lldb/unittests/Process/Utility/MemoryTagManagerAArch64MTETest.cpp

//===-- MemoryTagManagerAArch64MTETest.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 "Plugins/Process/Utility/MemoryTagManagerAArch64MTE.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"

usingnamespacelldb_private;

TEST(MemoryTagManagerAArch64MTETest, UnpackTagsData) {}

TEST(MemoryTagManagerAArch64MTETest, PackTags) {}

TEST(MemoryTagManagerAArch64MTETest, UnpackTagsFromCoreFileSegment) {}

TEST(MemoryTagManagerAArch64MTETest, GetLogicalTag) {}

TEST(MemoryTagManagerAArch64MTETest, ExpandToGranule) {}

static MemoryRegionInfo MakeRegionInfo(lldb::addr_t base, lldb::addr_t size,
                                       bool tagged) {}

TEST(MemoryTagManagerAArch64MTETest, MakeTaggedRange) {}

TEST(MemoryTagManagerAArch64MTETest, MakeTaggedRanges) {}

TEST(MemoryTagManagerAArch64MTETest, RemoveTagBits) {}

TEST(MemoryTagManagerAArch64MTETest, AddressDiff) {}

// Helper to check that repeating "tags" over "range" gives you
// "expected_tags".
static void
test_repeating_tags(const std::vector<lldb::addr_t> &tags,
                    MemoryTagManagerAArch64MTE::TagRange range,
                    const std::vector<lldb::addr_t> &expected_tags) {}

TEST(MemoryTagManagerAArch64MTETest, RepeatTagsForRange) {}