llvm/bolt/unittests/Core/BinaryContext.cpp

//===- bolt/unittest/Core/BinaryContext.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 "bolt/Core/BinaryContext.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/Support/TargetSelect.h"
#include "gtest/gtest.h"

usingnamespacellvm;
usingnamespacellvm::object;
usingnamespacellvm::ELF;
usingnamespacebolt;

namespace {
struct BinaryContextTester : public testing::TestWithParam<Triple::ArchType> {};
} // namespace

#ifdef X86_AVAILABLE

INSTANTIATE_TEST_SUITE_P();

#endif

#ifdef AARCH64_AVAILABLE

INSTANTIATE_TEST_SUITE_P();

TEST_P(BinaryContextTester, FlushPendingRelocCALL26) {}

TEST_P(BinaryContextTester, FlushPendingRelocJUMP26) {}

#endif

TEST_P(BinaryContextTester, BaseAddress) {}

TEST_P(BinaryContextTester, BaseAddress2) {}