mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[ORC] Fix BuildingAJIT tutorial code broken by r368707.
llvm-svn: 368740
This commit is contained in:
parent
b8b095bfbc
commit
b3e487c277
@ -46,7 +46,7 @@ public:
|
||||
CompileLayer(ES, ObjectLayer, ConcurrentIRCompiler(std::move(JTMB))),
|
||||
DL(std::move(DL)), Mangle(ES, this->DL),
|
||||
Ctx(llvm::make_unique<LLVMContext>()) {
|
||||
ES.getMainJITDylib().setGenerator(
|
||||
ES.getMainJITDylib().addGenerator(
|
||||
cantFail(DynamicLibrarySearchGenerator::GetForCurrentProcess(
|
||||
DL.getGlobalPrefix())));
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
OptimizeLayer(ES, CompileLayer, optimizeModule),
|
||||
DL(std::move(DL)), Mangle(ES, this->DL),
|
||||
Ctx(llvm::make_unique<LLVMContext>()) {
|
||||
ES.getMainJITDylib().setGenerator(
|
||||
ES.getMainJITDylib().addGenerator(
|
||||
cantFail(DynamicLibrarySearchGenerator::GetForCurrentProcess(
|
||||
DL.getGlobalPrefix())));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user