Merging r261365:
[oota-llvm.git] / test / MC / X86 / no-elf-compact-unwind.s
1 // RUN: llvm-mc < %s -filetype=obj -triple x86_64-apple-macosx10.8.0 | llvm-readobj -s | FileCheck -check-prefix=MACHO %s
2 // RUN: llvm-mc < %s -filetype=obj -triple x86_64-apple-ios7.0.0 | llvm-readobj -s | FileCheck -check-prefix=MACHO %s
3 // RUN: llvm-mc < %s -filetype=obj -triple x86_64-unknown-linux | llvm-readobj -s | FileCheck -check-prefix=ELF %s
4
5         .globl  __Z3barv
6         .align  4, 0x90
7 __Z3barv:
8         .cfi_startproc
9         pushq   %rax
10         .cfi_def_cfa_offset 16
11         popq    %rax
12         retq
13         .cfi_endproc
14
15 // MACHO: Name: __compact_unwind
16 // ELF-NOT: __compact_unwind