14 lines · plain
1; RUN: llc -mtriple=arm64-apple-ios %s -filetype=obj -o - | llvm-objdump --unwind-info - | FileCheck %s2 3; Swift asynchronous context is incompatible with the compact unwind encoding4; that currently exists and assumes callee-saved registers are right next to FP5; in a particular order. This isn't a problem now because C++ exceptions aren't6; allowed to unwind through Swift code, but at least make sure the compact info7; says to use DWARF correctly.8 9; CHECK: compact encoding: 0x0300000010define void @foo(ptr swiftasync %in) "frame-pointer"="all" {11 call void asm sideeffect "", "~{x23}"()12 ret void13}14