#include "OrcTestCommon.h" #include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h" #include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/JITLinkRedirectableSymbolManager.h" #include "llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h" #include "llvm/Testing/Support/Error.h" #include "gtest/gtest.h" usingnamespacellvm; usingnamespacellvm::orc; usingnamespacellvm::jitlink; static int initialTarget() { … } static int middleTarget() { … } static int finalTarget() { … } class JITLinkRedirectionManagerTest : public testing::Test { … }; TEST_F(JITLinkRedirectionManagerTest, BasicRedirectionOperation) { … }