[llvm] Reapply "[llvm/DWARF] Recursively resolve DW_AT_signature references"… (PR #99495)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 21 12:07:59 PDT 2024


================
@@ -173,7 +169,8 @@ DWARFTypePrinter::appendUnqualifiedNameBefore(DWARFDie D,
   case DW_TAG_base_type:
   */
   default: {
-    const char *NamePtr = dwarf::toString(D.find(DW_AT_name), nullptr);
+    const char *NamePtr =
+        dwarf::toString(D.findRecursively(DW_AT_name), nullptr);
----------------
dwblaikie wrote:

possibly if D is resolved through type unit references before this line, then this findRecursively won't be needed and the resolve through type units won't be needed in appendTemplateParameters either?

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


More information about the llvm-commits mailing list