Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / MachO_compact_unwind.s
blobe57831418304c9f82138242ccef046bfa7f55b07
1 # REQUIRES: asserts
2 # RUN: llvm-mc -triple=x86_64-apple-darwin11 -filetype=obj -o %t %s
3 # RUN: llvm-jitlink -noexec -debug-only=jitlink %t 2>&1 | FileCheck %s
5 # Check that splitting of compact-unwind sections works.
7 # CHECK: splitting {{.*}} __LD,__compact_unwind containing 1 initial blocks...
8 # CHECK: Splitting {{.*}} into 1 compact unwind record(s)
9 # CHECK: Updating {{.*}} to point to _main {{.*}}
11 .section __TEXT,__text,regular,pure_instructions
12 .globl _main
13 .p2align 4, 0x90
14 _main:
15 .cfi_startproc
17 pushq %rbp
18 .cfi_def_cfa_offset 16
19 .cfi_offset %rbp, -16
20 movq %rsp, %rbp
21 .cfi_def_cfa_register %rbp
22 xorl %eax, %eax
23 popq %rbp
24 retq
25 .cfi_endproc
27 .subsections_via_symbols