[llvm] [Symbolize] Always use filename:line from debug info when debug info for the given address is available. (PR #128619)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 25 13:26:59 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/17098
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-symbolizer/use-debug-info-line-info.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llvm-mc -filetype=obj /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /Users/buildbot/buildbot-root/aarch64-darwin/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp # RUN: at line 47
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/llvm-mc -filetype=obj /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /Users/buildbot/buildbot-root/aarch64-darwin/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:56:2: error: unknown directive
.type foo, at function
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:60:39: error: unexpected token in '.loc' directive
.loc 1 1 0 # <invalid>:1:0
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:64:8: error: unknown token in expression
pushq %rax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:64:8: error: invalid operand
pushq %rax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:66:7: error: unknown token in expression
movl %edi, %eax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:66:7: error: invalid operand
movl %edi, %eax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:69:39: error: unexpected token in '.loc' directive
.loc 1 1 1 prologue_end # <invalid>:1:1
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:70:10: error: unknown token in expression
orl $2, %eax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:70:10: error: invalid operand
orl $2, %eax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:71:11: error: unknown token in expression
subl $7, %eax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:71:11: error: invalid operand
subl $7, %eax
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:72:2: error: unrecognized instruction mnemonic
je .LBB0_1
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:73:2: error: unrecognized instruction mnemonic, did you mean: cmp?
jmp .LBB0_2
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:77:39: error: unexpected token in '.loc' directive
.loc 1 0 0 is_stmt 0 # <invalid>:0
^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:78:2: error: unrecognized instruction mnemonic
...
```
</details>
https://github.com/llvm/llvm-project/pull/128619
More information about the llvm-commits
mailing list