[llvm] [BOLT][NFC] Simplify getOrCreate/analyze/populate/emitJumpTable (PR #132108)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 23:15:39 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-nfc` running on `bolt-worker` while building `bolt` at step 9 "test-build-bolt-check-large-bolt".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/92/builds/16982

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 9 (test-build-bolt-check-large-bolt) failure: test (failure)
******************** TEST 'bolt-tests :: X86/python-split-func-jtable.test' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
mkdir -p /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output # RUN: at line 7
+ mkdir -p /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output
test -f /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output/python ||    unzstd /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Inputs/python3.8.6.zst    -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output/python # RUN: at line 8
+ test -f /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output/python
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt -v=3 -instrument /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output/python -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolttests/X86/Output/python-split-func-jtable.test.tmp.null    -skip-funcs=_PyEval_EvalFrameDefault.cold/1 2>&1 |    /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/FileCheck /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/python-split-func-jtable.test --check-prefix=CHECK-INST # RUN: at line 11
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt -v=3 -instrument /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/Output/python -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolttests/X86/Output/python-split-func-jtable.test.tmp.null -skip-funcs=_PyEval_EvalFrameDefault.cold/1
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/FileCheck /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/python-split-func-jtable.test --check-prefix=CHECK-INST
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/python-split-func-jtable.test:14:15: error: CHECK-INST: expected string not found in input
# CHECK-INST: BOLT-INFO: Multiple fragments access same jump table: sre_ucs4_match.cold/1(*2); sre_ucs4_match/1(*2)
              ^
<stdin>:1:1: note: scanning from here
BOLT-INFO: shared object or position-independent executable detected
^

Input file: <stdin>
Check file: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/bolt-tests/test/X86/python-split-func-jtable.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          1: BOLT-INFO: shared object or position-independent executable detected 
check:14     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: BOLT-INFO: Target architecture: x86_64 
check:14     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: BOLT-INFO: BOLT version: ba93fe97c235ddbf8e5d7f76b3cb48d9e0839ba0 
check:14     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: BOLT-INFO: first alloc address is 0x0 
check:14     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: BOLT-INFO: creating new program header table at address 0x400000, offset 0x400000 
check:14     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: BOLT-INFO: marking .init_array as GNU_RELRO 
check:14     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          .
          .
          .
>>>>>>

--

********************


```

</details>

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


More information about the llvm-commits mailing list