[MCJIT] Replace JITEventListener::anchor (temporarily removed in r222861), and

move GDBRegistrationListener into ExecutionEngine to avoid layering violation.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2014-11-27 01:41:16 +00:00
parent daed11e664
commit 7032f3cbe4
5 changed files with 5 additions and 1 deletions

View File

@ -113,6 +113,8 @@ public:
return nullptr;
}
#endif // USE_OPROFILE
private:
virtual void anchor();
};
} // end namespace llvm.

View File

@ -3,6 +3,7 @@
add_llvm_library(LLVMExecutionEngine
ExecutionEngine.cpp
ExecutionEngineBindings.cpp
GDBRegistrationListener.cpp
RTDyldMemoryManager.cpp
TargetSelect.cpp
)

View File

@ -48,6 +48,8 @@ ExecutionEngine *(*ExecutionEngine::MCJITCtor)(
ExecutionEngine *(*ExecutionEngine::InterpCtor)(std::unique_ptr<Module> M,
std::string *ErrorStr) =nullptr;
void JITEventListener::anchor() {}
ExecutionEngine::ExecutionEngine(std::unique_ptr<Module> M)
: EEState(*this),
LazyFunctionCreator(nullptr) {

View File

@ -1,5 +1,4 @@
add_llvm_library(LLVMRuntimeDyld
GDBRegistrationListener.cpp
RuntimeDyld.cpp
RuntimeDyldChecker.cpp
RuntimeDyldELF.cpp