[llvm] [llvm-debuginfo-analyzer] Fixed some DWARF related bugs (PR #153318)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 12:03:19 PDT 2025
sarnex wrote:
@adam-yang I noticed some of the lit tests added here failing if X86 isn't built, I made a PR to fix it here:
https://github.com/llvm/llvm-project/pull/155678
```
FAIL: LLVM :: tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s (53930 of 61619)
******************** TEST 'LLVM :: tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/llvm/build/bin/llvm-mc /llvm/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s -triple=i686-pc-linux -filetype=obj -o - | /llvm/build/bin/llvm-debuginfo-analyzer --attribute=all --print=all --output-sort=offset - | /llvm/build/bin/FileCheck /llvm/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s # RUN: at line 19
+ /llvm/build/bin/llvm-mc /llvm/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s -triple=i686-pc-linux -filetype=obj -o -
+ /llvm/build/bin/llvm-debuginfo-analyzer --attribute=all --print=all --output-sort=offset -
+ /llvm/build/bin/FileCheck /llvm/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
/llvm/build/bin/llvm-mc: error: unable to get target for 'i686-pc-linux', see --version and --triple.
llvm-debuginfo-analyzer: error: Binary object format in '-' is not supported..
FileCheck error: '<stdin>' is empty.
FileCheck command line: /llvm/build/bin/FileCheck /llvm/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
```
https://github.com/llvm/llvm-project/pull/153318
More information about the llvm-commits
mailing list