[llvm] [GSYM] Add support for querying merged functions in llvm-gsymutil (PR #120991)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 04:09:04 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx-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/180/builds/10847
<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-gsymutil/X86/elf-dwarf.yaml' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 5: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/yaml2obj /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/yaml2obj /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp
RUN: at line 6: llvm-gsymutil --convert /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym 2>&1 | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=CONVERT
+ llvm-gsymutil --convert /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp -o /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=CONVERT
RUN: at line 7: llvm-gsymutil --address=0x400391 --address=0x4004cd /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym 2>&1 | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDR
+ llvm-gsymutil --address=0x400391 --address=0x4004cd /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDR
RUN: at line 8: echo -e "0x400391 /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym\n0x4004cd /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym" | llvm-gsymutil --addresses-from-stdin 2>&1 | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRI --dump-input=always
+ echo -e '0x400391 /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym\n0x4004cd /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym'
+ llvm-gsymutil --addresses-from-stdin
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRI --dump-input=always
Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: 0x0000000000400391: _init + 1
2:
3: 0x00000000004004cd: main @ /tmp/main.cpp:1
4:
>>>>>>
RUN: at line 9: llvm-gsymutil --address=0x400391 --address=0x4004cd --verbose /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym 2>&1 | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRV --dump-input=always
+ llvm-gsymutil --address=0x400391 --address=0x4004cd --verbose /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRV --dump-input=always
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml:26:10: error: ADDRV: expected string not found in input
# ADDRV: 0x0000000000400391: _init
^
<stdin>:6:37: note: scanning from here
LookupResult for 0x0000000000400391:
^
<stdin>:8:1: note: possible intended match here
0x00000000004004cd: main @ /tmp/main.cpp:1
^
Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
-dump-input=help explains the following input dump.
Input was:
<<<<<<
...
```
</details>
https://github.com/llvm/llvm-project/pull/120991
More information about the llvm-commits
mailing list