• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -filetype=asm -o - -mtriple=armv6-unknown-linux-gnu < %s | FileCheck %s
2; RUN: llc -filetype=asm -o - -mtriple=armv6-apple-ios6.0.0  < %s | FileCheck %s
3
4define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" {
5; CHECK-LABEL: Lxray_sled_0:
6; CHECK-NEXT:  b  #20
7; CHECK-NEXT:  mov	r0, r0
8; CHECK-NEXT:  mov	r0, r0
9; CHECK-NEXT:  mov	r0, r0
10; CHECK-NEXT:  mov	r0, r0
11; CHECK-NEXT:  mov	r0, r0
12; CHECK-NEXT:  mov	r0, r0
13; CHECK-LABEL: Ltmp0:
14  ret i32 0
15; CHECK-LABEL: Lxray_sled_1:
16; CHECK-NEXT:  b  #20
17; CHECK-NEXT:  mov	r0, r0
18; CHECK-NEXT:  mov	r0, r0
19; CHECK-NEXT:  mov	r0, r0
20; CHECK-NEXT:  mov	r0, r0
21; CHECK-NEXT:  mov	r0, r0
22; CHECK-NEXT:  mov	r0, r0
23; CHECK-LABEL: Ltmp1:
24; CHECK-NEXT:  bx	lr
25}
26; CHECK-LABEL: xray_instr_map
27; CHECK-LABEL: Lxray_sleds_start0:
28; CHECK:       .long {{.*}}Lxray_sled_0
29; CHECK:       .long {{.*}}Lxray_sled_1
30; CHECK-LABEL: Lxray_sleds_end0:
31; CHECK-LABEL: xray_fn_idx
32; CHECK:       .long {{.*}}Lxray_sleds_start0
33; CHECK-NEXT:  .long {{.*}}Lxray_sleds_end0
34