Temporarily disable Hexagon tests. They are failing on OS X
[oota-llvm.git] / test / CodeGen / ARM / ctor_order.ll
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
4
5 ; DARWIN:      .section __DATA,__mod_init_func,mod_init_funcs
6 ; DARWIN:      .long _f151
7 ; DARWIN-NEXT: .long _f152
8
9 ; ELF:      .section .ctors,"aw",%progbits
10 ; ELF:      .long    f152
11 ; ELF-NEXT: .long    f151
12
13 ; GNUEABI:      .section .init_array,"aw",%init_array
14 ; GNUEABI:      .long    f151
15 ; GNUEABI-NEXT: .long    f152
16
17
18 @llvm.global_ctors = appending global [2 x { i32, void ()* }] [ { i32, void ()* } { i32 151, void ()* @f151 }, { i32, void ()* } { i32 152, void ()* @f152 } ]
19
20 define void @f151() {
21 entry:
22         ret void
23 }
24
25 define void @f152() {
26 entry:
27         ret void
28 }