Fix clang-interpreter build after 2487db1f28

This commit is contained in:
Jon Roelofs 2021-08-05 09:35:02 -07:00
parent bd17ced1db
commit b4c0307d59

View File

@ -66,7 +66,8 @@ private:
SimpleJIT(
std::unique_ptr<TargetMachine> TM, DataLayout DL,
std::unique_ptr<DynamicLibrarySearchGenerator> ProcessSymbolsGenerator)
: TM(std::move(TM)), DL(std::move(DL)) {
: ES(cantFail(SelfExecutorProcessControl::Create())), TM(std::move(TM)),
DL(std::move(DL)) {
llvm::sys::DynamicLibrary::LoadLibraryPermanently(nullptr);
MainJD.addGenerator(std::move(ProcessSymbolsGenerator));
}