mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
[MCJIT] Delete the JTIMemoryManager and associated APIs.
This patch removes the old JIT memory manager (which does not provide any useful functionality now that the old JIT is gone), and migrates the few remaining clients over to SectionMemoryManager. http://llvm.org/PR20848 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218316 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -444,13 +444,10 @@ int main(int argc, char **argv, char * const *envp) {
|
||||
else
|
||||
RTDyldMM = new SectionMemoryManager();
|
||||
builder.setMCJITMemoryManager(RTDyldMM);
|
||||
} else {
|
||||
if (RemoteMCJIT) {
|
||||
errs() << "error: Remote process execution requires -use-mcjit\n";
|
||||
exit(1);
|
||||
}
|
||||
builder.setJITMemoryManager(ForceInterpreter ? nullptr :
|
||||
JITMemoryManager::CreateDefaultMemManager());
|
||||
} else if (RemoteMCJIT) {
|
||||
errs() << "error: Remote process execution does not work with the "
|
||||
"interpreter.\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
CodeGenOpt::Level OLvl = CodeGenOpt::Default;
|
||||
|
Reference in New Issue
Block a user