Skip to content

Commit 25a1a73

Browse files
committed
Fix should scan call issue
1 parent 393ac4b commit 25a1a73

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

interpreter/cling/lib/Interpreter/DynamicLibraryManagerSymbol.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,9 @@ namespace cling {
13471347

13481348
llvm::orc::LibraryResolver::Setup S =
13491349
llvm::orc::LibraryResolver::Setup::create({});
1350-
S.shouldScan = shouldPermanentlyIgnore;
1350+
S.shouldScan = [&](llvm::StringRef lib) -> bool {
1351+
return !shouldPermanentlyIgnore(lib);
1352+
};
13511353
m_DyldController = llvm::orc::LibraryResolutionDriver::create(S);
13521354

13531355
for (const auto& info : m_SearchPaths) {

0 commit comments

Comments
 (0)