59 lines · plain
1# REQUIRES: asserts2# REQUIRES: system-linux3# RUN: llvm-mc -triple=systemz-unknown-linux-gnu -filetype=obj -o %t %s4# RUN: llvm-jitlink -noexec -phony-externals -debug-only=jitlink %t 2>&1 | \5# RUN: FileCheck %s6#7# Check that splitting of eh-frame sections works.8#9# CHECK: DWARFRecordSectionSplitter: Processing .eh_frame...10# CHECK: Processing block at11# CHECK: Processing CFI record at12# CHECK: Processing CFI record at13# CHECK: EHFrameEdgeFixer: Processing .eh_frame in "{{.*}}"...14# CHECK: Processing block at15# CHECK: Record is CIE16# CHECK: Processing block at17# CHECK: Record is FDE18# CHECK: Adding edge at {{.*}} to CIE at: {{.*}}19# CHECK: Processing PC-begin at20# CHECK: Existing edge at {{.*}} to PC begin at {{.*}}21# CHECK: Adding keep-alive edge from target at {{.*}} to FDE at {{.*}}22 23 .text24 .file "exceptions.cpp"25 # Start of file scope inline assembly26 .globl _ZSt21ios_base_library_initv27 28 # End of file scope inline assembly29 .globl main # -- Begin function main30 .p2align 431 .type main,@function32main: # @main33 .cfi_startproc34# %bb.0: # %entry35 stmg %r11, %r15, 88(%r15)36 .cfi_offset %r11, -7237 .cfi_offset %r14, -4838 .cfi_offset %r15, -4039 aghi %r15, -16840 .cfi_def_cfa_offset 32841 lgr %r11, %r1542 .cfi_def_cfa_register %r1143 mvhi 164(%r11), 044 lghi %r2, 445 brasl %r14, __cxa_allocate_exception@PLT46 mvhi 0(%r2), 147 lgrl %r3, _ZTIi@GOT48 lghi %r4, 049 brasl %r14, __cxa_throw@PLT50.Lfunc_end0:51 .size main, .Lfunc_end0-main52 .cfi_endproc53 # -- End function54 .section ".note.GNU-stack","",@progbits55 .addrsig56 .addrsig_sym __cxa_allocate_exception57 .addrsig_sym __cxa_throw58 .addrsig_sym _ZTIi59