[llvm-branch-commits] [llvm] [AArch64] Support TLS variables in debug info (#146572) (PR #191106)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 8 21:46:03 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 168052 tests passed
* 2989 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.DebugInfo/AArch64/tls-at-location.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 --aarch64-emit-debug-tls-location -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=TLS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 --aarch64-emit-debug-tls-location -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=TLS
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 --aarch64-emit-debug-tls-location=false -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=NO-TLS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 --aarch64-emit-debug-tls-location=false -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=NO-TLS
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=NO-TLS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=NO-TLS
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 --aarch64-emit-debug-tls-location -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/AArch64/Output/tls-at-location.ll.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=aarch64 --aarch64-emit-debug-tls-location -filetype=obj -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/AArch64/Output/tls-at-location.ll.tmp
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump -r /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/AArch64/Output/tls-at-location.ll.tmp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=OBJDUMP
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump -r /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/AArch64/Output/tls-at-location.ll.tmp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll --check-prefix=OBJDUMP
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll:28:12: error: OBJDUMP: expected string not found in input
# | ; OBJDUMP: R_AARCH64_TLS_DTPREL64 var
# | ^
# | <stdin>:1:1: note: scanning from here
# |
# | ^
# | <stdin>:18:18: note: possible intended match here
# | 0000000000000037 R_AARCH64_ABS64 var
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AArch64/tls-at-location.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1:
# | check:28'0 X error: no match found
# | 2: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/DebugInfo/AArch64/Output/tls-at-location.ll.tmp: file format elf64-littleaarch64
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3:
# | check:28'0 ~
# | 4: RELOCATION RECORDS FOR [.text]:
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: OFFSET TYPE VALUE
# | check:28'0 ~~~~~~~~~~~~~~~~~~
# | 6: 0000000000000000 R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 var
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 13: 0000000000000012 R_AARCH64_ABS32 .debug_str+0x14
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 0000000000000016 R_AARCH64_ABS32 .debug_line
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 000000000000001a R_AARCH64_ABS32 .debug_str+0x26
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 000000000000001e R_AARCH64_ABS64 .text
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 000000000000002b R_AARCH64_ABS32 .debug_str+0x59
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: 0000000000000037 R_AARCH64_ABS64 var
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:28'1 ? possible intended match
# | 19: 0000000000000041 R_AARCH64_ABS32 .debug_str+0x5d
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 20: 0000000000000048 R_AARCH64_ABS64 .text
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: 0000000000000056 R_AARCH64_ABS32 .debug_str+0x61
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 22:
# | check:28'0 ~
# | 23: RELOCATION RECORDS FOR [.debug_pubnames]:
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/191106
More information about the llvm-branch-commits
mailing list