[llvm-branch-commits] [llvm-profgen] Support [buildid:]addr in unsymbolized profile context (PR #194205)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Apr 26 00:13:27 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 172387 tests passed
* 3130 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.tools/llvm-profgen/filter-build-id-unsymbolized.test</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen --format=text --unsymbolized-profile=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/buildid-unsymbolized.raw --binary=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/noinline-cs-noprobe.perfbin --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp1 --filter-build-id=aabb1122 --profile-summary-cold-count=0
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen --format=text --unsymbolized-profile=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/buildid-unsymbolized.raw --binary=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/noinline-cs-noprobe.perfbin --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp1 --filter-build-id=aabb1122 --profile-summary-cold-count=0
# .---command stderr------------
# | warning: Sample PGO is estimated to optimize better with 10.0x more samples. Please consider increasing sampling rate or profiling for longer duration to get more samples.
# `-----------------------------
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/filter-build-id-unsymbolized.test --input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp1 --check-prefix=CHECK-MATCH
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/filter-build-id-unsymbolized.test --input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp1 --check-prefix=CHECK-MATCH
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen --format=text --unsymbolized-profile=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/buildid-unsymbolized.raw --binary=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/noinline-cs-noprobe.perfbin --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp2 --filter-build-id=deadbeef --profile-summary-cold-count=0
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen --format=text --unsymbolized-profile=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/buildid-unsymbolized.raw --binary=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/noinline-cs-noprobe.perfbin --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp2 --filter-build-id=deadbeef --profile-summary-cold-count=0
# .---command stderr------------
# | llvm-profgen: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/ProfiledBinary.cpp:144: uint32_t llvm::sampleprof::BinarySizeContextTracker::getFuncSizeForContext(const ContextTrieNode *): Assertion `Size && "We should at least find one context size."' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen --format=text --unsymbolized-profile=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/buildid-unsymbolized.raw --binary=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-profgen/Inputs/noinline-cs-noprobe.perfbin --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-profgen/Output/filter-build-id-unsymbolized.test.tmp2 --filter-build-id=deadbeef --profile-summary-cold-count=0
# |  #0 0x00000000028637a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x0000000002860881 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000028645b1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007a0f2ba7a330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007a0f2bad3b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007a0f2ba7a27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007a0f2ba5d8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007a0f2ba5d81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007a0f2ba70517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x00000000021041bc (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen+0x21041bc)
# | #10 0x00000000020fe7fa getFuncSizeForContext /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/ProfiledBinary.h:586:28
# | #11 0x00000000020fe7fa getFuncSize /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/CSPreInliner.cpp:149:19
# | #12 0x00000000020fe7fa llvm::sampleprof::CSPreInliner::processFunction(llvm::sampleprof::FunctionId) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/CSPreInliner.cpp:204:7
# | #13 0x00000000020ff3b1 operator++ /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_iterator.h:1111:2
# | #14 0x00000000020ff3b1 llvm::sampleprof::CSPreInliner::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/CSPreInliner.cpp:299:28
# | #15 0x0000000002122b12 llvm::sampleprof::CSProfileGenerator::postProcessProfiles() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/ProfileGenerator.cpp:1160:10
# | #16 0x00000000020e72fd _M_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:199:51
# | #17 0x00000000020e72fd get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:470:21
# | #18 0x00000000020e72fd operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:463:9
# | #19 0x00000000020e72fd main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llvm-profgen/llvm-profgen.cpp:215:5
# | #20 0x00007a0f2ba5f1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #21 0x00007a0f2ba5f28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #22 0x00000000020e5865 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-profgen+0x20e5865)
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/194205


More information about the llvm-branch-commits mailing list