1 ; RUN: llc < %s -mcpu=generic -mtriple=i686-linux -verify-machineinstrs | FileCheck %s
2 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux -verify-machineinstrs | FileCheck %s
4 ; This test is standalone because segmented-stacks.ll generates
5 ; object-files with both .note.GNU-split-stack (for the split-stack
6 ; functions) and .note.GNU-no-split-stack sections (for the
7 ; non-split-stack functions). But a split-stack function without a
8 ; stack frame should have a .note.GNU-split-stack section regardless
9 ; of any other contents of the compilation unit.
11 define void @test_nostack() #0 {
15 attributes #0 = { "split-stack" }
17 ; CHECK: .section ".note.GNU-split-stack","",@progbits
18 ; CHECK: .section ".note.GNU-no-split-stack","",@progbits