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, void ()*, i8* }] [ { i32, void ()*, i8* } { i32 151, void ()* @f151, i8* null }, { i32, void ()*, i8* } { i32 152, void ()* @f152, i8* null } ]