1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/AArch64/cfi.s

27 lines
508 B
ArmAsm
Raw Normal View History

// RUN: llvm-mc -triple aarch64-- -o - %s | FileCheck %s
fun:
.cfi_startproc
// CHECK: .cfi_startproc
stp x29, x30, [sp, #-16]!
.Lcfi0:
.cfi_offset w29, -16
// CHECK: .cfi_offset w29, -16
.Lcfi1:
.cfi_offset w30, -8
// CHECK: .cfi_offset w30, -8
mov x29, sp
.Lcfi2:
.cfi_def_cfa w29, 16
// CHECK: .cfi_def_cfa w29, 16
.Lcfi3:
.cfi_restore w30
// CHECK: .cfi_restore w30
ldr x29, [sp], #16
.Lcfi4:
.cfi_restore w29
// CHECK: .cfi_restore w29
ret
.cfi_endproc
// CHECK: .cfi_endproc