1 ; RUN: llc -mtriple=hexagon-unknown-elf < %s | FileCheck %s
2 ; RUN: llc -mtriple=hexagon-unknown-linux-musl < %s | FileCheck %s
4 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" {
5 ; CHECK-LABEL: .Lxray_sled_0:
11 ; CHECK-LABEL: .Ltmp0:
13 ; CHECK-LABEL: .Lxray_sled_1:
19 ; CHECK-LABEL: .Ltmp1:
22 ; CHECK: .section xray_instr_map,"ao",@progbits,foo
23 ; CHECK-NEXT: .Lxray_sleds_start0:
25 ; CHECK-NEXT: .word .Lxray_sled_0-.Ltmp2
26 ; CHECK-NEXT: .word .Lfunc_begin0-(.Ltmp2+4)
27 ; CHECK-NEXT: .byte 0x00
28 ; CHECK-NEXT: .byte 0x01
29 ; CHECK-NEXT: .byte 0x02
30 ; CHECK-NEXT: .space 5
31 ; CHECK-LABEL: .Lxray_sleds_end0:
32 ; CHECK-LABEL: xray_fn_idx
33 ; CHECK: .word .Lxray_sleds_start0{{$}}
34 ; CHECK-NEXT: .word .Lxray_sleds_end0{{$}}