mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[ORC][examples] Fix ThinLtoJIT example after changes in 85fb997659b.
This commit is contained in:
parent
8d3b95bafd
commit
871e8efa78
@ -158,7 +158,7 @@ ThinLtoJIT::ThinLtoJIT(ArrayRef<std::string> InputFiles,
|
|||||||
|
|
||||||
// We are restricted to a single dylib currently. Add runtime overrides and
|
// We are restricted to a single dylib currently. Add runtime overrides and
|
||||||
// symbol generators.
|
// symbol generators.
|
||||||
MainJD = &ES.createJITDylib("main");
|
MainJD = &ES.createBareJITDylib("main");
|
||||||
Err = setupJITDylib(MainJD, AllowNudgeIntoDiscovery, PrintStats);
|
Err = setupJITDylib(MainJD, AllowNudgeIntoDiscovery, PrintStats);
|
||||||
if (Err)
|
if (Err)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user