[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:45:00 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/1307
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-devrel-x86-64-b1/build/bin/llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -start-before aarch64-sls-hardening -o - /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir -asm-verbose=0 | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-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-devrel-x86-64-b1/build/bin/llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -start-before aarch64-sls-hardening -o - /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/AArch64/speculation-hardening-sls-blra.mir -asm-verbose=0
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-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-devrel-x86-64-b1/build/bin/llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -start-before aarch64-sls-hardening -o - /b/ml-opt-devrel-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-devrel-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 0x000056373d5b1a08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x3d9ea08)
#1 0x000056373d5aedec SignalHandler(int) Signals.cpp:0:0
#2 0x00007f2dde041140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
#3 0x000056373c551ea1 llvm::MachineInstr::addOperand(llvm::MachineFunction&, llvm::MachineOperand const&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x2d3eea1)
#4 0x000056373a7d84d4 llvm::ThunkInserter<(anonymous namespace)::SLSHardeningInserter, (anonymous namespace)::ThunksSet>::run(llvm::MachineModuleInfo&, llvm::MachineFunction&) AArch64SLSHardening.cpp:0:0
#5 0x000056373c53ec57 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#6 0x000056373cb48d69 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x3335d69)
#7 0x000056373cb48fa1 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x3335fa1)
#8 0x000056373cb49b8b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x3336b8b)
#9 0x000056373a332fa1 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#10 0x000056373a22bc5e main (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0xa18c5e)
#11 0x00007f2dddb19d0a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d0a)
#12 0x000056373a3295ca _start (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0xb165ca)
FileCheck error: '<stdin>' is empty.
FileCheck command line: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-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