From 396fa9a7b397990160195fb0460da44d57f4fdce Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 6 Feb 2015 19:36:40 +0000 Subject: [PATCH] [Orc] Move SectionMemoryManager's implementation from MCJIT to ExecutionEngine. This is a more sensible home for SectionMemoryManager, and allows the implementation to be shared between Orc and MCJIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228427 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/CMakeLists.txt | 1 + lib/ExecutionEngine/MCJIT/CMakeLists.txt | 1 - lib/ExecutionEngine/{MCJIT => }/SectionMemoryManager.cpp | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename lib/ExecutionEngine/{MCJIT => }/SectionMemoryManager.cpp (100%) diff --git a/lib/ExecutionEngine/CMakeLists.txt b/lib/ExecutionEngine/CMakeLists.txt index 2332795fc4c..d2c33cda1a6 100644 --- a/lib/ExecutionEngine/CMakeLists.txt +++ b/lib/ExecutionEngine/CMakeLists.txt @@ -5,6 +5,7 @@ add_llvm_library(LLVMExecutionEngine ExecutionEngineBindings.cpp GDBRegistrationListener.cpp RTDyldMemoryManager.cpp + SectionMemoryManager.cpp TargetSelect.cpp ) diff --git a/lib/ExecutionEngine/MCJIT/CMakeLists.txt b/lib/ExecutionEngine/MCJIT/CMakeLists.txt index 088635a0e99..2911a507722 100644 --- a/lib/ExecutionEngine/MCJIT/CMakeLists.txt +++ b/lib/ExecutionEngine/MCJIT/CMakeLists.txt @@ -1,4 +1,3 @@ add_llvm_library(LLVMMCJIT MCJIT.cpp - SectionMemoryManager.cpp ) diff --git a/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp b/lib/ExecutionEngine/SectionMemoryManager.cpp similarity index 100% rename from lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp rename to lib/ExecutionEngine/SectionMemoryManager.cpp -- 2.34.1