diff --git a/examples/ThinLtoJIT/ThinLtoJIT.cpp b/examples/ThinLtoJIT/ThinLtoJIT.cpp index b920bee6ad1..6d1795495d6 100644 --- a/examples/ThinLtoJIT/ThinLtoJIT.cpp +++ b/examples/ThinLtoJIT/ThinLtoJIT.cpp @@ -158,7 +158,7 @@ ThinLtoJIT::ThinLtoJIT(ArrayRef 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;