[llvm] [RISCV] Add an option to enable CFIInstrInserter. (PR #164477)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 00:09:56 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `llvm` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
  Expectedly Failed:    24 (0.05%)
[1463/1465] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1464/1465] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/wasm-ld
-- Testing: 62193 tests, 60 workers --
Testing:  0.. 10.. 20.. 30
XPASS: LLVM :: CodeGen/RISCV/cfi-multiple-locations.mir (20158 of 62193)
******************** TEST 'LLVM :: CodeGen/RISCV/cfi-multiple-locations.mir' FAILED ********************
Exit Code: 0

Command Output (stdout):
--
# RUN: at line 1
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/llc /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir -mtriple=riscv64  -run-pass=cfi-instr-inserter  -riscv-enable-cfi-instr-inserter=true
# executed command: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/llc /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir -mtriple=riscv64 -run-pass=cfi-instr-inserter -riscv-enable-cfi-instr-inserter=true

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Unexpectedly Passed Tests (1):
  LLVM :: CodeGen/RISCV/cfi-multiple-locations.mir


Testing Time: 86.09s

Total Discovered Tests: 70355
  Skipped            :    48 (0.07%)
  Unsupported        : 19487 (27.70%)
  Passed             : 50748 (72.13%)
  Expectedly Failed  :    71 (0.10%)
  Unexpectedly Passed:     1 (0.00%)
FAILED: test/CMakeFiles/check-llvm /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/test/CMakeFiles/check-llvm 
cd /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/test && /usr/bin/python3.10 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/./bin/llvm-lit -sv /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/test
ninja: build stopped: subcommand failed.
['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h', 'check-llvm', 'check-clang', 'check-lld'] exited with return code 1.
@@@STEP_FAILURE@@@
Step 7 (check) failure: check (failure)
...
  Expectedly Failed:    24 (0.05%)
[1463/1465] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1464/1465] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:534: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/wasm-ld
-- Testing: 62193 tests, 60 workers --
Testing:  0.. 10.. 20.. 30
XPASS: LLVM :: CodeGen/RISCV/cfi-multiple-locations.mir (20158 of 62193)
******************** TEST 'LLVM :: CodeGen/RISCV/cfi-multiple-locations.mir' FAILED ********************
Exit Code: 0

Command Output (stdout):
--
# RUN: at line 1
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/llc /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir -mtriple=riscv64  -run-pass=cfi-instr-inserter  -riscv-enable-cfi-instr-inserter=true
# executed command: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/bin/llc /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir -mtriple=riscv64 -run-pass=cfi-instr-inserter -riscv-enable-cfi-instr-inserter=true

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Unexpectedly Passed Tests (1):
  LLVM :: CodeGen/RISCV/cfi-multiple-locations.mir


Testing Time: 86.09s

Total Discovered Tests: 70355
  Skipped            :    48 (0.07%)
  Unsupported        : 19487 (27.70%)
  Passed             : 50748 (72.13%)
  Expectedly Failed  :    71 (0.10%)
  Unexpectedly Passed:     1 (0.00%)
FAILED: test/CMakeFiles/check-llvm /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/test/CMakeFiles/check-llvm 
cd /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/test && /usr/bin/python3.10 /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/./bin/llvm-lit -sv /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h/test
ninja: build stopped: subcommand failed.
['ninja', '-C', '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-e91spn5h', 'check-llvm', 'check-clang', 'check-lld'] exited with return code 1.
program finished with exit code 0
elapsedTime=1353.456542

```

</details>

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


More information about the llvm-commits mailing list