[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:23:42 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `llvm` at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/13950

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-symbolizer/use-debug-info-line-info.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-mc -filetype=obj /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp # RUN: at line 47
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-mc -filetype=obj /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:56:12: error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '%<type>' or "<type>"
        .type   foo, at function
                    ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/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
                                                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:64:8: error: unexpected token in operand
        pushq   %rax
                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:66:7: error: unexpected token in operand
        movl    %edi, %eax
                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/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
                                                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:70:10: error: unexpected token in operand
        orl     $2, %eax
                    ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:71:11: error: unexpected token in operand
        subl    $7, %eax
                    ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:72:2: error: invalid instruction
        je      .LBB0_1
        ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:73:2: error: invalid instruction, did you mean: cmp?
        jmp     .LBB0_2
        ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/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
                                                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:78:2: error: invalid instruction
        callq   bar
        ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:82:39: error: unexpected token in '.loc' directive
        .loc    1 6 1 epilogue_begin is_stmt 1  # <invalid>:6:1
                                                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:83:7: error: unexpected token in operand
        popq    %rax
                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:85:38: error: unexpected token in argument list
        jmp     bar                             # TAILCALL
                                                ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s:91:28: error: expected '%<type>' or "<type>"
...

```

</details>

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


More information about the llvm-commits mailing list