brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 8023e84 Raw
35 lines · plain
1; RUN: llc < %s -mtriple=arm-apple-darwin  | FileCheck %s -check-prefix=DARWIN2; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic  | FileCheck %s --check-prefix=DARWIN3; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=static  | FileCheck %s -check-prefix=DARWIN-STATIC4; RUN: llc < %s -mtriple=arm-linux-gnu -target-abi=apcs  | FileCheck %s -check-prefix=ELF5; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=GNUEABI6 7; DARWIN:      .section	__DATA,__mod_init_func,mod_init_funcs8; DARWIN:      .long _f1519; DARWIN-NEXT: .long _f15210 11; DARWIN-STATIC: .section __TEXT,__constructor12 13; ELF:      .section .ctors.65384,"aw",%progbits14; ELF:      .long    f15115; ELF:      .section .ctors.65383,"aw",%progbits16; ELF:      .long    f15217 18; GNUEABI:      .section .init_array.151,"aw",%init_array19; GNUEABI:      .long    f15120; GNUEABI:      .section .init_array.152,"aw",%init_array21; GNUEABI:      .long    f15222 23 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 } ]25 26define void @f151() {27entry:28        ret void29}30 31define void @f152() {32entry:33        ret void34}35