[llvm] [AArch64][PAC] Support BLRA* instructions in SLS Hardening pass (PR #97605)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 6 03:53:16 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b1` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/1297
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/speculation-hardening-sls-blra.mir' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
RUN: at line 1: /b/ml-opt-dev-x86-64-b1/build/bin/llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -start-before aarch64-sls-hardening -o - /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir -asm-verbose=0 | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir --implicit-check-not=__llvm_slsblr_thunk_aa_x5_x8 --implicit-check-not=__llvm_slsblr_thunk_ab_x5_x8 --implicit-check-not=__llvm_slsblr_thunk_aaz_x5 --implicit-check-not=__llvm_slsblr_thunk_abz_x5
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -start-before aarch64-sls-hardening -o - /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir -asm-verbose=0
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir --implicit-check-not=__llvm_slsblr_thunk_aa_x5_x8 --implicit-check-not=__llvm_slsblr_thunk_ab_x5_x8 --implicit-check-not=__llvm_slsblr_thunk_aaz_x5 --implicit-check-not=__llvm_slsblr_thunk_abz_x5
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /b/ml-opt-dev-x86-64-b1/build/bin/llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -start-before aarch64-sls-hardening -o - /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir -asm-verbose=0
1. Running pass 'Function Pass Manager' on module '/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir'.
2. Running pass 'AArch64 sls hardening pass' on function '@__llvm_slsblr_thunk_aa_x0_x1'
#0 0x00005654bb740fd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3d9bfd8)
#1 0x00005654bb73e3bc SignalHandler(int) Signals.cpp:0:0
#2 0x00007fcb6f01d140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
#3 0x00005654ba6e28c1 llvm::MachineInstr::addOperand(llvm::MachineFunction&, llvm::MachineOperand const&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x2d3d8c1)
#4 0x00005654b8968ed4 llvm::ThunkInserter<(anonymous namespace)::SLSHardeningInserter, (anonymous namespace)::ThunksSet>::run(llvm::MachineModuleInfo&, llvm::MachineFunction&) AArch64SLSHardening.cpp:0:0
#5 0x00005654ba6cf677 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#6 0x00005654bacd8339 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3333339)
#7 0x00005654bacd8571 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x3333571)
#8 0x00005654bacd915b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x333415b)
#9 0x00005654b84c39a1 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#10 0x00005654b83bbfee main (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0xa16fee)
#11 0x00007fcb6eaf5d0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d0a)
#12 0x00005654b84b9fca _start (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0xb14fca)
FileCheck error: '<stdin>' is empty.
FileCheck command line: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir --implicit-check-not=__llvm_slsblr_thunk_aa_x5_x8 --implicit-check-not=__llvm_slsblr_thunk_ab_x5_x8 --implicit-check-not=__llvm_slsblr_thunk_aaz_x5 --implicit-check-not=__llvm_slsblr_thunk_abz_x5
--
********************
```
https://github.com/llvm/llvm-project/pull/97605
More information about the llvm-commits
mailing list