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 06132c8 commit 7fa02ccCopy full SHA for 7fa02cc
clang/lib/Interpreter/Interpreter.cpp
@@ -725,7 +725,9 @@ llvm::Error Interpreter::LoadDynamicLibrary(const char *name) {
725
726
if (auto DLSG = llvm::orc::EPCDynamicLibrarySearchGenerator::Load(
727
EE->getExecutionSession(), name))
728
- EE->getMainJITDylib().addGenerator(std::move(*DLSG));
+ // FIXME: Eventually we should put each library in its own JITDylib and
729
+ // turn off process symbols by default.
730
+ EE->getProcessSymbolsJITDylib()->addGenerator(std::move(*DLSG));
731
else
732
return DLSG.takeError();
733
0 commit comments