1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/AArch64/arm64_32-compact-unwind.s
Tim Northover 1bb14916f2 AArch64: support arm64_32, an ILP32 slice for watchOS.
This is the main CodeGen patch to support the arm64_32 watchOS ABI in LLVM.
FastISel is mostly disabled for now since it would generate incorrect code for
ILP32.

llvm-svn: 371722
2019-09-12 10:22:23 +00:00

16 lines
519 B
ArmAsm

; RUN: llvm-mc -triple=arm64_32-ios7.0 -filetype=obj %s -o %t
; RUN: llvm-objdump -s %t | FileCheck %s
; The compact unwind format in ILP32 mode is pretty much the same, except
; references to addresses (function, personality, LSDA) are pointer-sized.
; CHECK: Contents of section __compact_unwind:
; CHECK-NEXT: 0004 00000000 04000000 00000002 00000000
; CHECK-NEXT: 0014 00000000
.globl _test_compact_unwind
.align 2
_test_compact_unwind:
.cfi_startproc
ret
.cfi_endproc