[llvm] Modify dwarfdump verification to allow sub-category counts (PR #125062)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 12:24:49 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-windows` running on `premerge-windows-1` while building `llvm` at step 8 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/7157
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 8 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-dwarfdump/X86/debug-names-verify--completeness-json-output.s' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-mc.exe -triple x86_64-pc-linux C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s -filetype=obj -o - | c:\ws\buildbot\premerge-monolithic-windows\build\bin\not.exe c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-dwarfdump.exe -verify --verify-json=C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json -
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-mc.exe' -triple x86_64-pc-linux 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s' -filetype=obj -o -
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\not.exe' 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\llvm-dwarfdump.exe' -verify '--verify-json=C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json' -
# .---command stdout------------
# | Verifying -: file format elf64-x86-64
# | Verifying .debug_abbrev...
# | Verifying .debug_info Unit Header Chain...
# | Verifying .debug_types Unit Header Chain...
# | Verifying non-dwo Units...
# | Verifying unit: 1 / 1
# | Verifying dwo Units...
# | Verifying .debug_line...
# | Verifying .debug_str_offsets...
# | Verifying .debug_names...
# | warning: Name Index @ 0x0 does not contain a hash table.
# | error: Name Index @ 0x0: Entry for DIE @ 0x2b (DW_TAG_namespace) with name namesp missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x33 (DW_TAG_variable) with name var_block_addr missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x4e (DW_TAG_namespace) with name (anonymous namespace) missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x4f (DW_TAG_variable) with name var_loc_addr missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x62 (DW_TAG_variable) with name var_loc_tls missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x71 (DW_TAG_variable) with name var_loc_gnu_tls missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name fun_name missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0x84 (DW_TAG_subprogram) with name _Z8fun_name missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0xa2 (DW_TAG_inlined_subroutine) with name fun_inline missing.
# | error: Name Index @ 0x0: Entry for DIE @ 0xbe (DW_TAG_label) with name label missing.
# | error: Aggregated error counts:
# | error: Name Index DIE entry missing name occurred 10 time(s).
# | Errors detected.
# `-----------------------------
# RUN: at line 2
c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s --input-file C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s' --input-file 'C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json'
# .---command stderr------------
# | C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s:4:10: error: CHECK: expected string not found in input
# | # CHECK: {"error-categories":{"Name Index DIE entry missing name":{"count":10}},"error-count":10}
# | ^
# | C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json:1:1: note: scanning from here
# | {"error-categories":{"Name Index DIE entry missing name":{"count":10,"details":{"DW_TAG_inlined_subroutine":1,"DW_TAG_label":1,"DW_TAG_namespace":2,"DW_TAG_subprogram":2,"DW_TAG_variable":4}}},"error-count":10}
# | ^
# |
# | Input file: C:\ws\buildbot\premerge-monolithic-windows\build\test\tools\llvm-dwarfdump\X86\Output\debug-names-verify--completeness-json-output.s.tmp.json
# | Check file: C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\test\tools\llvm-dwarfdump\X86\debug-names-verify--completeness-json-output.s
# |
# | -dump-input=help explains the following input dump.
...
```
</details>
https://github.com/llvm/llvm-project/pull/125062
More information about the llvm-commits
mailing list