[Lldb-commits] [lldb] [lldb][NativePDB] Reuse the method decl added while completing the class (PR #227010)

via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 28 08:50:48 PDT 2026


https://github.com/Nerixyz commented:

Don't we have a related problem in reverse: If the method decl is first created in `PdbAstBuilderClang::CreateFunctionDecl` and the record completer runs afterward. Then we have two decls for the same id.

I think the record completer should communicate with the AST builder through something similar to `GetOrCreateFunctionDecl` - maybe `GetOrCreateMethodDecl`?

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


More information about the lldb-commits mailing list