blob: d3b44137da5baf417f5d7a08b8efc3e4df4ae21f [file] [log] [blame]
; RUN: llc -mcpu=generic -mtriple=x86_64-linux -code-model=large < %s | FileCheck %s
; Check what happens if we have an existing declaration of __morestack_addr
; CHECK: .section ".note.GNU-stack","",@progbits
; CHECK-NEXT: .section .rodata,"a",@progbits
; CHECK-NEXT: __morestack_addr:
; CHECK-NEXT: .quad __morestack
declare void @__morestack_addr()