[Lldb-commits] [lld] [lldb] [llvm] [AArch64] Support TLS variables in debug info (PR #146572)

via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 18 07:47:24 PST 2026


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 origin/main HEAD --extensions h,cpp -- lld/ELF/Arch/AArch64.cpp lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp llvm/lib/Target/AArch64/AArch64TargetObjectFile.h llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
index 3e9edd0b1..70c00a964 100644
--- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
+++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
@@ -37,10 +37,8 @@ const MCAsmInfo::AtSpecifier COFFAtSpecifiers[] = {
 };
 
 const MCAsmInfo::AtSpecifier ELFAtSpecifiers[] = {
-    {AArch64::S_GOT, "GOT"},
-    {AArch64::S_GOTPCREL, "GOTPCREL"},
-    {AArch64::S_PLT, "PLT"},
-    {AArch64::S_DTPREL, "DTPREL"},
+    {AArch64::S_GOT, "GOT"},           {AArch64::S_GOTPCREL, "GOTPCREL"},
+    {AArch64::S_PLT, "PLT"},           {AArch64::S_DTPREL, "DTPREL"},
     {AArch64::S_FUNCINIT, "FUNCINIT"},
 };
 

``````````

</details>


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


More information about the lldb-commits mailing list