mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 16:09:57 +00:00
[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:
parent
daed11e664
commit
7032f3cbe4
@ -113,6 +113,8 @@ public:
|
||||
return nullptr;
|
||||
}
|
||||
#endif // USE_OPROFILE
|
||||
private:
|
||||
virtual void anchor();
|
||||
};
|
||||
|
||||
} // end namespace llvm.
|
||||
|
@ -3,6 +3,7 @@
|
||||
add_llvm_library(LLVMExecutionEngine
|
||||
ExecutionEngine.cpp
|
||||
ExecutionEngineBindings.cpp
|
||||
GDBRegistrationListener.cpp
|
||||
RTDyldMemoryManager.cpp
|
||||
TargetSelect.cpp
|
||||
)
|
||||
|
@ -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) {
|
||||
|
@ -1,5 +1,4 @@
|
||||
add_llvm_library(LLVMRuntimeDyld
|
||||
GDBRegistrationListener.cpp
|
||||
RuntimeDyld.cpp
|
||||
RuntimeDyldChecker.cpp
|
||||
RuntimeDyldELF.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user