29 lines · plain
1; RUN: llc -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s --check-prefixes=CHECK,CHECK-LINUX2; RUN: llc -mtriple=aarch64-apple-darwin < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS3 4define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-exit" {5; CHECK-LABEL: Lxray_sled_0:6; CHECK-NEXT: b #327; CHECK-NEXT: nop8; CHECK-NEXT: nop9; CHECK-NEXT: nop10; CHECK-NEXT: nop11; CHECK-NEXT: nop12; CHECK-NEXT: nop13; CHECK-NEXT: nop14; CHECK-LABEL: Ltmp0:15 ret i32 016; CHECK-NOT: Lxray_sled_1:17; CHECK: ret18}19 20; CHECK-LINUX-LABEL: .section xray_instr_map,"ao",@progbits,foo{{$}}21; CHECK-LINUX-LABEL: Lxray_sleds_start0:22; CHECK-LINUX: .xword .Lxray_sled_023; CHECK-LINUX-LABEL: Lxray_sleds_end0:24 25; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}}26; CHECK-MACOS-LABEL: lxray_sleds_start0:27; CHECK-MACOS: .quad Lxray_sled_028; CHECK-MACOS-LABEL: Lxray_sleds_end0:29