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 ce37fa4 commit b043759Copy full SHA for b043759
lib/Interpreter/DynamicLibraryManagerSymbol.cpp
@@ -911,8 +911,17 @@ namespace Cpp {
911
// All the symbols are already flagged as exported.
912
// We cannot really ignore symbols based on flags as we do on unix.
913
StringRef Name;
914
- if (I->getSymbolName(Name))
+ auto Err = I->getSymbolName(Name);
915
+
916
+ if (Err) {
917
+ std::string Message;
918
+ handleAllErrors(std::move(Err), [&](llvm::ErrorInfoBase& EIB) {
919
+ Message += EIB.message() + "; ";
920
+ });
921
+ LLVM_DEBUG(dbgs() << "Dyld::BuildBloomFilter: Failed to read symbol "
922
+ << Message << "\n");
923
continue;
924
+ }
925
if (Name.empty())
926
927
0 commit comments