================ @@ -1675,7 +1675,7 @@ void SymbolFileNativePDB::CacheFunctionNames() { llvm::cantFail(SymbolDeserializer::deserializeAs<ProcSym>(*iter)); if ((proc.Flags & ProcSymFlags::IsUnreachable) != ProcSymFlags::None) continue; - if (proc.Name.empty()) + if (proc.Name.empty() || proc.FunctionType.isNoneType()) ---------------- Nerixyz wrote:
Yea, it would be more robust, let's do that. I couldn't think of a case where the type would be simple and not none (i.e. a primitive type). But in that case, we should still skip the function. https://github.com/llvm/llvm-project/pull/153382 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits