Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[cling] Even when library has no symbols to offer initialize the filter.
This is part of #4717
  • Loading branch information
vgvassilev committed May 7, 2020
commit 5a32833f96d0c97fa6800f5eb84554dec5b761e8
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ void Dyld::BuildBloomFilter(LibraryPath* Lib,
}
}

Lib->InitializeBloomFilter(SymbolsCount);

if (!SymbolsCount) {
if (DEBUG > 7)
cling::errs() << "Dyld::BuildBloomFilter: No symbols!\n";
Expand All @@ -569,7 +571,6 @@ void Dyld::BuildBloomFilter(LibraryPath* Lib,
cling::errs() << "Dyld::BuildBloomFilter" << "- " << it << "\n";
}

Lib->InitializeBloomFilter(SymbolsCount);
// Generate BloomFilter
for (const auto &S : symbols) {
if (m_UseHashTable)
Expand Down