[Lldb-commits] [lldb] [lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (PR #90663)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri May 3 01:50:05 PDT 2024


================
@@ -1632,6 +1669,96 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
   return qualified_name;
 }
 
+bool DWARFASTParserClang::FindDefinitionDIE(const DWARFDIE &die,
+                                            bool &is_forward_declaration) {
----------------
labath wrote:

I'm having trouble finding where is this by-ref argument actually used in the caller. Can we get rid of it (perhaps by moving the `IsForwardDeclaration` call to the caller)?

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


More information about the lldb-commits mailing list