[llvm] [DebugInfo] Emit linkage name into DWARF for types for Swift (PR #112802)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 16:57:08 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff cc13d4fb4a208363ed1dab29829cd200a3e39c52 8baaddde6f8953662dcec6c8add9cc30fe39eb54 --extensions cpp -- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index 715968c335..bdf840dd8a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@ -654,7 +654,9 @@ void DwarfUnit::updateAcceleratorTables(const DIScope *Context,
   }
 
   DD->addAccelType(*this, CUNode->getNameTableKind(), Ty->getName(), TyDIE,
-                   Flags);;;
+                   Flags);
+  ;
+  ;
 
   if (auto *CT = dyn_cast<DICompositeType>(Ty))
     if (Ty->getName() != CT->getIdentifier())

``````````

</details>


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


More information about the llvm-commits mailing list