Skip to content

Commit b4c0307

Browse files
committed
Fix clang-interpreter build after 2487db1
1 parent bd17ced commit b4c0307

File tree

1 file changed

+2
-1
lines changed
  • clang/examples/clang-interpreter

1 file changed

+2
-1
lines changed

clang/examples/clang-interpreter/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ class SimpleJIT {
6666
SimpleJIT(
6767
std::unique_ptr<TargetMachine> TM, DataLayout DL,
6868
std::unique_ptr<DynamicLibrarySearchGenerator> ProcessSymbolsGenerator)
69-
: TM(std::move(TM)), DL(std::move(DL)) {
69+
: ES(cantFail(SelfExecutorProcessControl::Create())), TM(std::move(TM)),
70+
DL(std::move(DL)) {
7071
llvm::sys::DynamicLibrary::LoadLibraryPermanently(nullptr);
7172
MainJD.addGenerator(std::move(ProcessSymbolsGenerator));
7273
}

0 commit comments

Comments
 (0)