llvm-for-llvmta/test/MC/AArch64/arm64-compact-unwind-fallba...

16 lines
420 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// RUN: llvm-mc -triple=arm64-apple-ios -filetype=obj %s -o %t
// RUN: llvm-objdump --macho --unwind-info --dwarf=frames %t | FileCheck %s
// Check that we fallback on DWARF instead of asserting.
// CHECK: Contents of __compact_unwind section:
// CHECK: compact encoding: 0x03000000
// CHECK: .eh_frame contents:
// CHECK: DW_CFA_def_cfa: reg1 +32
_cfi_dwarf:
.cfi_startproc
.cfi_def_cfa x1, 32;
.cfi_endproc