[clang] [llvm] [SystemZ] Global Stackprotector and associated location section (PR #169317)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 5 01:56:59 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166790 tests passed
* 2905 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGen/SystemZ/stack-guard-pseudos.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -S -mllvm -stop-after=systemz-isel -stack-protector 1 -triple=s390x-ibm-linux < /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/SystemZ/stack-guard-pseudos.c -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=CHECK-PSEUDOS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/SystemZ/stack-guard-pseudos.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -S -mllvm -stop-after=systemz-isel -stack-protector 1 -triple=s390x-ibm-linux -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=CHECK-PSEUDOS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/SystemZ/stack-guard-pseudos.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/SystemZ/stack-guard-pseudos.c:4:19: error: CHECK-PSEUDOS: expected string not found in input
# | // CHECK-PSEUDOS: %3:addr64bit = LOAD_STACK_GUARD_ADDRESS
# | ^
# | <stdin>:151:13: note: scanning from here
# | bb.0.entry:
# | ^
# | <stdin>:158:2: note: possible intended match here
# | %3:addr64bit = LOAD_STACK_GUARD :: (dereferenceable invariant load (s64) from @__stack_chk_guard)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/SystemZ/stack-guard-pseudos.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 146: callSites: []
# | 147: debugValueSubstitutions: []
# | 148: constants: []
# | 149: machineFunctionInfo: {}
# | 150: body: |
# | 151: bb.0.entry:
# | check:4'0 X error: no match found
# | 152: successors: %bb.1(0x40000000), %bb.2(0x40000000)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 153: liveins: $r2d, $r3d
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~
# | 154:
# | check:4'0 ~~
# | 155: %1:gr64bit = COPY $r3d
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 156: %0:gr64bit = COPY $r2d
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 157: %2:gr32bit = COPY %0.subreg_l32
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 158: %3:addr64bit = LOAD_STACK_GUARD :: (dereferenceable invariant load (s64) from @__stack_chk_guard)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:4'1 ? possible intended match
# | 159: STG killed %3, %stack.0.StackGuardSlot, 0, $noreg :: (volatile store (s64) into %stack.0.StackGuardSlot)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 160: MVHI %stack.1.retval, 0, 0 :: (store (s32) into %ir.retval)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 161: ST %2, %stack.2.argc.addr, 0, $noreg :: (store (s32) into %ir.argc.addr)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 162: STG %1, %stack.3.argv.addr, 0, $noreg :: (store (s64) into %ir.argv.addr)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 163: MVGHI %stack.4.Buffer, 0, 0 :: (store (s64) into %ir.Buffer, align 1)
# | check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### LLVM
<details>
<summary>LLVM.CodeGen/SystemZ/stack-guard-global-nopic.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-global-nopic.ll -mtriple=s390x-linux-gnu -verify-machineinstrs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-global-nopic.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=s390x-linux-gnu -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInst.h:74: MCRegister llvm::MCOperand::getReg() const: Assertion `isReg() && "This is not a register operand!"' 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/llc -mtriple=s390x-linux-gnu -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'SystemZ Assembly Printer' on function '@test_global_stack_guard'
# | #0 0x0000000007f395c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# | #1 0x0000000007f36cd5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# | #2 0x0000000007f3a391 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# | #3 0x00007fb5274ee330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007fb527547b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007fb5274ee27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007fb5274d18ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007fb5274d181b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007fb5274e4517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x00000000069351cb (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x69351cb)
# | #10 0x0000000006932234 llvm::SystemZGNUInstPrinter::printInstruction(llvm::MCInst const*, unsigned long, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenGNUAsmWriter.inc:0:0
# | #11 0x0000000006932cfe llvm::SystemZGNUInstPrinter::printInst(llvm::MCInst const*, unsigned long, llvm::StringRef, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZGNUInstPrinter.cpp:32:3
# | #12 0x00000000075dd975 llvm::MCTargetStreamer::prettyPrintAsm(llvm::MCInstPrinter&, unsigned long, llvm::MCInst const&, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCStreamer.cpp:1160:1
# | #13 0x0000000007591538 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:80:32
# | #14 0x0000000007591538 str /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:255:42
# | #15 0x0000000007591538 operator StringRef /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:266:39
# | #16 0x0000000007591538 (anonymous namespace)::MCAsmStreamer::emitInstruction(llvm::MCInst const&, llvm::MCSubtargetInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCAsmStreamer.cpp:2464:24
# | #17 0x0000000006221e34 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:271:45
# | #18 0x0000000006221e34 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:27
# | #19 0x0000000006221e34 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1209:46
# | #20 0x0000000006221e34 ~MCInst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInst.h:188:7
# | #21 0x0000000006221e34 llvm::SystemZAsmPrinter::emitInstruction(llvm::MachineInstr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp:796:1
# | #22 0x0000000006c5da65 llvm::AsmPrinter::emitFunctionBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2104:33
# | #23 0x00000000062297a5 llvm::SystemZAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h:121:5
# | #24 0x0000000006f45b53 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #25 0x00000000074b3e05 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1398:27
# | #26 0x00000000074bbdb2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #27 0x00000000074b48ac runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #28 0x00000000074b48ac llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #29 0x0000000004deb3a2 compileModule(char**, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:0:8
# | #30 0x0000000004de86a0 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:450:13
# | #31 0x00007fb5274d31ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #32 0x00007fb5274d328b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #33 0x0000000004de4125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4de4125)
# `-----------------------------
# error: command failed with exit status: -6
# 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/CodeGen/SystemZ/stack-guard-global-nopic.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-global-nopic.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/SystemZ/stack-guard-global-pic.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-global-pic.ll -mtriple=s390x-linux-gnu -verify-machineinstrs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-global-pic.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=s390x-linux-gnu -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInst.h:74: MCRegister llvm::MCOperand::getReg() const: Assertion `isReg() && "This is not a register operand!"' 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/llc -mtriple=s390x-linux-gnu -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'SystemZ Assembly Printer' on function '@test_global_stack_guard'
# | #0 0x0000000007f395c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# | #1 0x0000000007f36cd5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# | #2 0x0000000007f3a391 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# | #3 0x00007a513f0ec330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007a513f145b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007a513f0ec27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007a513f0cf8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007a513f0cf81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007a513f0e2517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x00000000069351cb (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x69351cb)
# | #10 0x0000000006932234 llvm::SystemZGNUInstPrinter::printInstruction(llvm::MCInst const*, unsigned long, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenGNUAsmWriter.inc:0:0
# | #11 0x0000000006932cfe llvm::SystemZGNUInstPrinter::printInst(llvm::MCInst const*, unsigned long, llvm::StringRef, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZGNUInstPrinter.cpp:32:3
# | #12 0x00000000075dd975 llvm::MCTargetStreamer::prettyPrintAsm(llvm::MCInstPrinter&, unsigned long, llvm::MCInst const&, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCStreamer.cpp:1160:1
# | #13 0x0000000007591538 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:80:32
# | #14 0x0000000007591538 str /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:255:42
# | #15 0x0000000007591538 operator StringRef /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:266:39
# | #16 0x0000000007591538 (anonymous namespace)::MCAsmStreamer::emitInstruction(llvm::MCInst const&, llvm::MCSubtargetInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCAsmStreamer.cpp:2464:24
# | #17 0x0000000006221e34 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:271:45
# | #18 0x0000000006221e34 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:27
# | #19 0x0000000006221e34 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1209:46
# | #20 0x0000000006221e34 ~MCInst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInst.h:188:7
# | #21 0x0000000006221e34 llvm::SystemZAsmPrinter::emitInstruction(llvm::MachineInstr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp:796:1
# | #22 0x0000000006c5da65 llvm::AsmPrinter::emitFunctionBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2104:33
# | #23 0x00000000062297a5 llvm::SystemZAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h:121:5
# | #24 0x0000000006f45b53 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #25 0x00000000074b3e05 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1398:27
# | #26 0x00000000074bbdb2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #27 0x00000000074b48ac runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #28 0x00000000074b48ac llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #29 0x0000000004deb3a2 compileModule(char**, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:0:8
# | #30 0x0000000004de86a0 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:450:13
# | #31 0x00007a513f0d11ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #32 0x00007a513f0d128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #33 0x0000000004de4125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4de4125)
# `-----------------------------
# error: command failed with exit status: -6
# 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/CodeGen/SystemZ/stack-guard-global-pic.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-global-pic.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/SystemZ/stack-guard-tls.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-tls.ll -mtriple=s390x-linux-gnu -verify-machineinstrs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-tls.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=s390x-linux-gnu -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInst.h:74: MCRegister llvm::MCOperand::getReg() const: Assertion `isReg() && "This is not a register operand!"' 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/llc -mtriple=s390x-linux-gnu -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'SystemZ Assembly Printer' on function '@test_tls_stack_guard'
# | #0 0x0000000007f395c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# | #1 0x0000000007f36cd5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# | #2 0x0000000007f3a391 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# | #3 0x00007ac862c05330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007ac862c5eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007ac862c0527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007ac862be88ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007ac862be881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007ac862bfb517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x00000000069351cb (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x69351cb)
# | #10 0x0000000006932234 llvm::SystemZGNUInstPrinter::printInstruction(llvm::MCInst const*, unsigned long, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Target/SystemZ/SystemZGenGNUAsmWriter.inc:0:0
# | #11 0x0000000006932cfe llvm::SystemZGNUInstPrinter::printInst(llvm::MCInst const*, unsigned long, llvm::StringRef, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZGNUInstPrinter.cpp:32:3
# | #12 0x00000000075dd975 llvm::MCTargetStreamer::prettyPrintAsm(llvm::MCInstPrinter&, unsigned long, llvm::MCInst const&, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCStreamer.cpp:1160:1
# | #13 0x0000000007591538 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:80:32
# | #14 0x0000000007591538 str /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:255:42
# | #15 0x0000000007591538 operator StringRef /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallString.h:266:39
# | #16 0x0000000007591538 (anonymous namespace)::MCAsmStreamer::emitInstruction(llvm::MCInst const&, llvm::MCSubtargetInfo const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/MC/MCAsmStreamer.cpp:2464:24
# | #17 0x0000000006221e34 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:271:45
# | #18 0x0000000006221e34 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:27
# | #19 0x0000000006221e34 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1209:46
# | #20 0x0000000006221e34 ~MCInst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInst.h:188:7
# | #21 0x0000000006221e34 llvm::SystemZAsmPrinter::emitInstruction(llvm::MachineInstr const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp:796:1
# | #22 0x0000000006c5da65 llvm::AsmPrinter::emitFunctionBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2104:33
# | #23 0x00000000062297a5 llvm::SystemZAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h:121:5
# | #24 0x0000000006f45b53 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #25 0x00000000074b3e05 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1398:27
# | #26 0x00000000074bbdb2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #27 0x00000000074b48ac runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #28 0x00000000074b48ac llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #29 0x0000000004deb3a2 compileModule(char**, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:0:8
# | #30 0x0000000004de86a0 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:450:13
# | #31 0x00007ac862bea1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #32 0x00007ac862bea28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #33 0x0000000004de4125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4de4125)
# `-----------------------------
# error: command failed with exit status: -6
# 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/CodeGen/SystemZ/stack-guard-tls.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/SystemZ/stack-guard-tls.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</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/169317
More information about the llvm-commits
mailing list