#include "llvm/ADT/STLExtras.h"
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/ExecutionEngine/JITLink/aarch64.h"
#include "llvm/ExecutionEngine/JITLink/i386.h"
#include "llvm/ExecutionEngine/JITLink/loongarch.h"
#include "llvm/ExecutionEngine/JITLink/x86_64.h"
#include "llvm/ExecutionEngine/Orc/ObjectFileInterface.h"
#include "llvm/Support/Memory.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespacellvm::jitlink;
static std::pair<Symbol &, Symbol &>
GenerateStub(LinkGraph &G, size_t PointerSize, Edge::Kind PointerEdgeKind) { … }
TEST(StubsTest, StubsGeneration_x86_64) { … }
TEST(StubsTest, StubsGeneration_aarch64) { … }
TEST(StubsTest, StubsGeneration_i386) { … }
TEST(StubsTest, StubsGeneration_loongarch32) { … }
TEST(StubsTest, StubsGeneration_loongarch64) { … }