[llvm] [DWARFLinker] Index Swift mangled type names in the parallel linker (PR #216429)

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 19:31:45 PDT 2026


================
@@ -102,25 +102,46 @@ void AcceleratorRecordsSaver::save(const DWARFDebugInfoEntry *InputDieEntry,
   case dwarf::DW_TAG_shared_type:
   case dwarf::DW_TAG_immutable_type:
   case dwarf::DW_TAG_rvalue_reference_type: {
-    if (!AttrInfo.IsDeclaration && AttrInfo.Name != nullptr &&
-        !AttrInfo.Name->getKey().empty()) {
+    if (AttrInfo.IsDeclaration)
+      break;
+
+    // hashFullyQualifiedName() advances InputDIE along the specification and
----------------
JDevlieghere wrote:

Yeah agreed. I'll see if we can make that better in a followup.

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


More information about the llvm-commits mailing list