1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[ORC][examples] Fix ThinLtoJIT example after changes in 85fb997659b.

This commit is contained in:
Lang Hames 2020-02-20 10:41:07 -08:00
parent 8d3b95bafd
commit 871e8efa78

View File

@ -158,7 +158,7 @@ ThinLtoJIT::ThinLtoJIT(ArrayRef<std::string> InputFiles,
// We are restricted to a single dylib currently. Add runtime overrides and
// symbol generators.
MainJD = &ES.createJITDylib("main");
MainJD = &ES.createBareJITDylib("main");
Err = setupJITDylib(MainJD, AllowNudgeIntoDiscovery, PrintStats);
if (Err)
return;