1 ; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN
2 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s --check-prefix=DARWIN
3 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=static | FileCheck %s -check-prefix=DARWIN-STATIC
4 ; RUN: llc < %s -mtriple=arm-linux-gnu -target-abi=apcs | FileCheck %s -check-prefix=ELF
5 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=GNUEABI
7 ; DARWIN: .section __DATA,__mod_init_func,mod_init_funcs
9 ; DARWIN-NEXT: .long _f152
11 ; DARWIN-STATIC: .section __TEXT,__constructor
13 ; ELF: .section .ctors.65384,"aw",%progbits
15 ; ELF: .section .ctors.65383,"aw",%progbits
18 ; GNUEABI: .section .init_array.151,"aw",%init_array
20 ; GNUEABI: .section .init_array.152,"aw",%init_array
24 @llvm.global_ctors = appending global [2 x { i32, ptr, ptr }] [ { i32, ptr, ptr } { i32 151, ptr @f151, ptr null }, { i32, ptr, ptr } { i32 152, ptr @f152, ptr null } ]