36 lines · plain
1# RUN: llvm-mc -triple=x86_64-apple-darwin %s | FileCheck %s --check-prefix=ASM2# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t3# RUN: llvm-objdump -s %t | FileCheck %s4 5# ASM: Lexception0:6# ASM-NEXT: .uleb128 Lttbase0-Lttbaseref07 8# CHECK: Contents of section __TEXT,__text:9# CHECK-NEXT: 0000 e8000000 0090e900 000000 ...........10# CHECK: Contents of section __TEXT,__gcc_except_tab:11# CHECK-NEXT: 000b 020106 ...12 13 .section __TEXT,__text,regular,pure_instructions14Lfunc_begin0:15 callq ___cxa_begin_catch16Ltmp1:17 nop18 jmp ___cxa_end_catch ## TAILCALL19Lfunc_end0:20 .section __TEXT,__gcc_except_tab21Lexception0:22 .uleb128 Lttbase0-Lttbaseref023Lttbaseref0:24 .uleb128 Lcst_end0-Lcst_begin025Lcst_begin0:26 .uleb128 Lfunc_end0-Ltmp1 ## Call between Ltmp1 and Lfunc_end027 28Lcst_end0:29Lttbase0:30 31 .section __TEXT,__text,regular,pure_instructions32 .globl __Z1hv33__Z1hv:34 35.subsections_via_symbols36