llvm/test/MC/X86/no-elf-compact-unwind.s
Rafael Espindola 32b14f80c2 Use compact unwind for the iOS simulator.
Another step in fixing pr19185.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211416 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-20 22:40:55 +00:00

17 lines
545 B
ArmAsm

// RUN: llvm-mc < %s -filetype=obj -triple x86_64-apple-macosx10.8.0 | llvm-readobj -s | FileCheck -check-prefix=MACHO %s
// RUN: llvm-mc < %s -filetype=obj -triple x86_64-apple-ios7.0.0 | llvm-readobj -s | FileCheck -check-prefix=MACHO %s
// RUN: llvm-mc < %s -filetype=obj -triple x86_64-unknown-linux | llvm-readobj -s | FileCheck -check-prefix=ELF %s
.globl __Z3barv
.align 4, 0x90
__Z3barv:
.cfi_startproc
pushq %rax
.cfi_def_cfa_offset 16
popq %rax
retq
.cfi_endproc
// MACHO: Name: __compact_unwind
// ELF-NOT: __compact_unwind