[llvm] [DebugInfo] Support global addresses in variable locations (PR #218722)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 12:04:17 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 181255 tests passed
* 3731 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.DebugInfo/BPF/extern-void.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -march=bpfel -filetype=asm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/BPF/extern-void.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/BPF/extern-void.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -march=bpfel -filetype=asm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/BPF/extern-void.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/BPF/extern-void.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/BPF/extern-void.ll:37:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: DW_TAG_variable
# |               ^
# | <stdin>:213:33: note: 'next' match was here
# |  .byte 3 # Abbrev [3] 0x73:0x16 DW_TAG_variable
# |                                 ^
# | <stdin>:194:12: note: previous match ended here
# |  .quad bla1
# |            ^
# | <stdin>:195:1: note: non-matching line after previous match is here
# |  .byte 159
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/BPF/extern-void.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |          189:  # DW_AT_external 
# |          190:  # DW_AT_APPLE_optimized 
# |          191:  .byte 3 # Abbrev [3] 0x43:0x16 DW_TAG_variable 
# |          192:  .byte 10 # DW_AT_location 
# |          193:  .byte 3 
# |          194:  .quad bla1 
# | next:37'0               {   search range start (exclusive)
# |          195:  .byte 159 
# |          196:  .long .Linfo_string7 # DW_AT_name 
# |          197:  .byte 1 # DW_AT_decl_file 
# |          198:  .byte 3 # DW_AT_decl_line 
# |          199:  .long 177 # DW_AT_type 
# |            .
# |            .
# |            .
# |          208:  .byte 1 # DW_AT_decl_file 
# |          209:  .byte 8 # DW_AT_decl_line 
# |          210:  .long 178 # DW_AT_type 
# |          211:  # DW_AT_external 
# |          212:  # DW_AT_APPLE_optimized 
# |          213:  .byte 3 # Abbrev [3] 0x73:0x16 DW_TAG_variable 
# | next:37'1                                     !~~~~~~~~~~~~~~   error: match on wrong line
# |          214:  .byte 10 # DW_AT_location 
# |          215:  .byte 3 
# |          216:  .quad bla2 
# |          217:  .byte 159 
# |          218:  .long .Linfo_string7 # DW_AT_name 
# |            .
# |            .
# |            .
# |          341:  .long .Ltmp3 
# |          342:  .long 13 
# |          343:  .long 0 
# |          344:  .long 10243 # Line 10 Col 3 
# |          345:  .section .debug_line,"", at progbits 
# |          346: .Lline_table_start0: 
# | next:37'2                          } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/218722


More information about the llvm-commits mailing list