[ORC][examples] Fix ThinLtoJIT example after changes in 85fb997659b.
authorLang Hames <lhames@gmail.com>
Thu, 20 Feb 2020 18:41:07 +0000 (10:41 -0800)
committerLang Hames <lhames@gmail.com>
Thu, 20 Feb 2020 19:15:08 +0000 (11:15 -0800)
llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp

index b920bee6ad14beeca4b947e3ca125da4f7e865a7..6d1795495d6b351374cd04868a076bf649ac4bff 100644 (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;