1 ; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN
2 ; RUN: llc < %s -mtriple=arm-linux-gnu | FileCheck %s -check-prefix=ELF
3 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=GNUEABI
5 ; DARWIN: .section __DATA,__mod_init_func,mod_init_funcs
7 ; DARWIN-NEXT: .long _f152
9 ; ELF: .section .ctors.65384,"aw",%progbits
11 ; ELF: .section .ctors.65383,"aw",%progbits
14 ; GNUEABI: .section .init_array.151,"aw",%init_array
16 ; GNUEABI: .section .init_array.152,"aw",%init_array
20 @llvm.global_ctors = appending global [2 x { i32, void ()* }] [ { i32, void ()* } { i32 151, void ()* @f151 }, { i32, void ()* } { i32 152, void ()* @f152 } ]