xref: /llvm-project/llvm/test/CodeGen/X86/morestack-decl.ll (revision 3659780d58722ea38adf25f7116151f2ecf2d521)
1; RUN: llc -mcpu=generic -mtriple=x86_64-linux -code-model=large < %s | FileCheck %s
2
3; Check what happens if we have an existing declaration of __morestack_addr
4
5; CHECK:	.section	".note.GNU-stack","",@progbits
6; CHECK-NEXT:	.section	.rodata,"a",@progbits
7; CHECK-NEXT: __morestack_addr:
8; CHECK-NEXT: .quad	__morestack
9
10declare void @__morestack_addr()
11