We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd17ced commit b4c0307Copy full SHA for b4c0307
clang/examples/clang-interpreter/main.cpp
@@ -66,7 +66,8 @@ class SimpleJIT {
66
SimpleJIT(
67
std::unique_ptr<TargetMachine> TM, DataLayout DL,
68
std::unique_ptr<DynamicLibrarySearchGenerator> ProcessSymbolsGenerator)
69
- : TM(std::move(TM)), DL(std::move(DL)) {
+ : ES(cantFail(SelfExecutorProcessControl::Create())), TM(std::move(TM)),
70
+ DL(std::move(DL)) {
71
llvm::sys::DynamicLibrary::LoadLibraryPermanently(nullptr);
72
MainJD.addGenerator(std::move(ProcessSymbolsGenerator));
73
}
0 commit comments