[Lldb-commits] [lldb] Reapply [lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (PR #98361)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 16 04:55:20 PDT 2024
================
@@ -1595,49 +1627,67 @@ DWARFASTParserClang::GetCPlusPlusQualifiedName(const DWARFDIE &die) {
if (qualified_name.empty())
qualified_name.append("::");
- qualified_name.append(name);
+ qualified_name.append(unique_typename.GetCString());
qualified_name.append(GetDIEClassTemplateParams(die));
- return qualified_name;
+ unique_typename = ConstString(qualified_name);
----------------
Michael137 wrote:
Nit: I'd find it slightly clearer if we returned the new name like the old function did (probably don't even need the parameter to be a `ConstString`)
https://github.com/llvm/llvm-project/pull/98361
More information about the lldb-commits
mailing list