[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
Mon Jan 6 12:01:22 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/15021
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) 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/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp
RUN: at line 6: llvm-gsymutil --convert /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=CONVERT
+ llvm-gsymutil --convert /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDR
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDR
+ llvm-gsymutil --address=0x400391 --address=0x4004cd /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym
RUN: at line 8: echo -e "0x400391 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym\n0x4004cd /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym" | llvm-gsymutil --addresses-from-stdin 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRI --dump-input=always
+ echo -e '0x400391 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym\n0x4004cd /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym'
+ llvm-gsymutil --addresses-from-stdin
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRI --dump-input=always
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m[0m0x0000000000400391: _init[0;1;46m + 1 [0m
[0;1;32mcheck:17 ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 2: [0m[1m[0;1;46m[0m [0m
[0;1;32mempty:18 ^
[0m[0;1;30m 3: [0m[1m[0;1;46m[0m0x00000000004004cd: main @ /tmp/main.cpp:1[0;1;46m [0m
[0;1;32mcheck:19 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46m[0m [0m
[0;1;32mempty:20 ^
[0m>>>>>>
RUN: at line 9: llvm-gsymutil --address=0x400391 --address=0x4004cd --verbose /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym 2>&1 | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml --check-prefix=ADDRV --dump-input=always
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-gsymutil/X86/Output/elf-dwarf.yaml.tmp.gsym
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml:26:10: [0m[0;1;31merror: [0m[1mADDRV: expected string not found in input
[0m# ADDRV: 0x0000000000400391: _init
[0;1;32m ^
[0m[1m<stdin>:6:37: [0m[0;1;30mnote: [0m[1mscanning from here
[0mLookupResult for 0x0000000000400391:
[0;1;32m ^
[0m[1m<stdin>:8:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m0x00000000004004cd: main @ /tmp/main.cpp:1
[0;1;32m^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
...
```
</details>
https://github.com/llvm/llvm-project/pull/120991
More information about the llvm-commits
mailing list