[Lldb-commits] [lldb] [LLDB][NativePDB] Ignore functions with no type in name lookup (PR #153382)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 14 06:06:30 PDT 2025
================
@@ -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
More information about the lldb-commits
mailing list