[llvm] 6de21c5 - [ORC][examples] Fix ThinLtoJIT example after changes in 85fb997659b.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 11:15:15 PST 2020


Author: Lang Hames
Date: 2020-02-20T11:15:08-08:00
New Revision: 6de21c556d159d29e7957821fa8b83ef68083b76

URL: https://github.com/llvm/llvm-project/commit/6de21c556d159d29e7957821fa8b83ef68083b76
DIFF: https://github.com/llvm/llvm-project/commit/6de21c556d159d29e7957821fa8b83ef68083b76.diff

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

Added: 
    

Modified: 
    llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp b/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
index b920bee6ad14..6d1795495d6b 100644
--- a/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
+++ b/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
@@ -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;


        


More information about the llvm-commits mailing list