diff options
Diffstat (limited to 'test/MC/X86/no-elf-compact-unwind.s')
-rw-r--r-- | test/MC/X86/no-elf-compact-unwind.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/X86/no-elf-compact-unwind.s b/test/MC/X86/no-elf-compact-unwind.s new file mode 100644 index 0000000..017c52a --- /dev/null +++ b/test/MC/X86/no-elf-compact-unwind.s @@ -0,0 +1,15 @@ +// 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-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 |