// RUN: llvm-mc -triple x86_64-apple-macos10.6 -filetype=obj %s -o %t.o // RUN: llvm-objdump --macho --unwind-info --dwarf=frames %t.o | FileCheck %s /// Signal frames cannot be encoded in compact unwind. Verify that /// .cfi_signal_frame causes UNWIND_X86_MODE_DWARF (0x04000000) to be emitted /// in the __compact_unwind section, and that the corresponding DWARF CIE /// carries the 'S' augmentation character. _f: .cfi_startproc .cfi_signal_frame ret .cfi_endproc // CHECK: Contents of __compact_unwind section: // CHECK: Entry at offset 0x0: // CHECK: start: 0x0 _f // CHECK: length: 0x1 // CHECK: compact encoding: 0x04000000 // CHECK: .eh_frame contents: // CHECK: CIE // CHECK: Augmentation: "zRS"