[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:16:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/15360
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-symbolizer/use-debug-info-line-info.s' FAILED ********************
Exit Code: 139
Command Output (stderr):
--
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc -filetype=obj /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp # RUN: at line 47
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc -filetype=obj /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc -filetype=obj /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp
#0 0x00007b845fd8ade0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib/libLLVMSupport.so.21.0git+0x1f1de0)
#1 0x00007b845fd881ef llvm::sys::RunSignalHandlers() (/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib/libLLVMSupport.so.21.0git+0x1ef1ef)
#2 0x00007b845fd8833a SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007b845f442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007b845ff1eae9 llvm::MCAsmBackend::createObjectWriter(llvm::raw_pwrite_stream&) const (/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib/libLLVMMC.so.21.0git+0x47ae9)
#5 0x0000653c98735b93 main (/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc+0xab93)
#6 0x00007b845f429d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#7 0x00007b845f429e40 call_init ./csu/../csu/libc-start.c:128:20
#8 0x00007b845f429e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#9 0x0000653c987362d5 _start (/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc+0xb2d5)
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.script: line 3: 876202 Segmentation fault (core dumped) /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llvm-mc -filetype=obj /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-symbolizer/use-debug-info-line-info.s -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/test/tools/llvm-symbolizer/Output/use-debug-info-line-info.s.tmp
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/128619
More information about the llvm-commits
mailing list