1 ; RUN: llc -filetype=asm -o - -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s 2 3 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" { 4 ; CHECK-LABEL: Lxray_sled_0: 5 ; CHECK-NEXT: b #32 6 ; CHECK-NEXT: nop 7 ; CHECK-NEXT: nop 8 ; CHECK-NEXT: nop 9 ; CHECK-NEXT: nop 10 ; CHECK-NEXT: nop 11 ; CHECK-NEXT: nop 12 ; CHECK-NEXT: nop 13 ; CHECK-LABEL: Ltmp0: 14 ret i32 0 15 ; CHECK-LABEL: Lxray_sled_1: 16 ; CHECK-NEXT: b #32 17 ; CHECK-NEXT: nop 18 ; CHECK-NEXT: nop 19 ; CHECK-NEXT: nop 20 ; CHECK-NEXT: nop 21 ; CHECK-NEXT: nop 22 ; CHECK-NEXT: nop 23 ; CHECK-NEXT: nop 24 ; CHECK-LABEL: Ltmp1: 25 ; CHECK-NEXT: ret 26 } 27 ; CHECK-LABEL: xray_instr_map 28 ; CHECK-LABEL: Lxray_sleds_start0 29 ; CHECK: .xword .Lxray_sled_0 30 ; CHECK: .xword .Lxray_sled_1 31 ; CHECK-LABEL: Lxray_sleds_end0 32