29 lines · plain
1# REQUIRES: asserts2# RUN: llvm-mc -triple=x86_64-apple-darwin11 -filetype=obj -o %t %s3# RUN: llvm-jitlink -num-threads=0 -debug-only=jitlink -noexec %t 2>&1 \4# RUN: | FileCheck %s5#6# Check that splitting of compact-unwind sections works.7#8# CHECK: splitting {{.*}} __LD,__compact_unwind containing 1 initial blocks...9# CHECK: Splitting {{.*}} into 1 compact unwind record(s)10# CHECK: Updating {{.*}} to point to _main {{.*}}11 12 .section __TEXT,__text,regular,pure_instructions13 .globl _main14 .p2align 4, 0x9015_main:16 .cfi_startproc17 18 pushq %rbp19 .cfi_def_cfa_offset 1620 .cfi_offset %rbp, -1621 movq %rsp, %rbp22 .cfi_def_cfa_register %rbp23 xorl %eax, %eax24 popq %rbp25 retq26 .cfi_endproc27 28.subsections_via_symbols29