1 ; RUN: llc < %s -mtriple=s390x-linux-gnu -stack-size-section | FileCheck %s
4 ; CHECK-NEXT: .Lfunc_begin0:
5 ; CHECK: .section .stack_sizes,"o",@progbits,.text{{$}}
6 ; CHECK-NEXT: .quad .Lfunc_begin0
8 define void @func1(i32, i32) #0 {
13 ; CHECK-NEXT: .Lfunc_begin1:
14 ; CHECK: .section .stack_sizes,"o",@progbits,.text{{$}}
15 ; CHECK-NEXT: .quad .Lfunc_begin1
16 ; CHECK-NEXT: .ascii "\250\001"
17 define void @func2(i32, i32) #0 {
24 ; CHECK-NEXT: .Lfunc_begin2:
25 ; CHECK: .section .stack_sizes,"o",@progbits,.text{{$}}
26 ; CHECK-NEXT: .quad .Lfunc_begin2
27 ; CHECK-NEXT: .ascii "\250\001"
28 define void @func3() #0 {
30 call void @func1(i32 1, i32 2)
34 ; CHECK-LABEL: dynalloc:
35 ; CHECK-NOT: .section .stack_sizes
36 define void @dynalloc(i32 %N) #0 {
41 attributes #0 = { "frame-pointer"="all" }