[Lldb-commits] [lldb] [LLDB][NativePDB] Ignore functions with no type in name lookup (PR #153382)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 14 06:02:42 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())
----------------
Michael137 wrote:

Would `!proc.FunctionType.isSimple()` be more robust? Or can `FunctionType` never be "simple"?

https://github.com/llvm/llvm-project/pull/153382


More information about the lldb-commits mailing list