llvm/bolt/unittests/Core/MCPlusBuilder.cpp

//===- bolt/unittest/Core/MCPlusBuilder.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
//
//===----------------------------------------------------------------------===//

#ifdef AARCH64_AVAILABLE
#include "AArch64Subtarget.h"
#endif // AARCH64_AVAILABLE

#ifdef X86_AVAILABLE
#include "X86Subtarget.h"
#endif // X86_AVAILABLE

#include "bolt/Core/BinaryBasicBlock.h"
#include "bolt/Core/BinaryFunction.h"
#include "bolt/Rewrite/RewriteInstance.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 MCPlusBuilderTester : public testing::TestWithParam<Triple::ArchType> {};
} // namespace

#ifdef AARCH64_AVAILABLE

INSTANTIATE_TEST_SUITE_P();

TEST_P(MCPlusBuilderTester, AliasX0) {}

TEST_P(MCPlusBuilderTester, AliasSmallerX0) {}

#endif // AARCH64_AVAILABLE

#ifdef X86_AVAILABLE

INSTANTIATE_TEST_SUITE_P();

TEST_P(MCPlusBuilderTester, AliasAX) {}

TEST_P(MCPlusBuilderTester, AliasSmallerAX) {}

TEST_P(MCPlusBuilderTester, ReplaceRegWithImm) {}

#endif // X86_AVAILABLE

TEST_P(MCPlusBuilderTester, Annotation) {}