brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · b25ffee Raw
76 lines · plain
1# REQUIRES: asserts2# RUN: llvm-mc -triple=aarch64-linux-gnu -filetype=obj -o %t %s3# RUN: llvm-jitlink -num-threads=0 -debug-only=jitlink -noexec \4# RUN:              -phony-externals %t 2>&1 | FileCheck %s5#6# Check that splitting of eh-frame sections works.7#8# CHECK: DWARFRecordSectionSplitter: Processing .eh_frame...9# CHECK:  Processing block at10# CHECK:    Processing CFI record at11# CHECK:    Processing CFI record at12# CHECK: EHFrameEdgeFixer: Processing .eh_frame in "{{.*}}"...13# CHECK:   Processing block at14# CHECK:     Record is CIE15# CHECK:   Processing block at16# CHECK:     Record is FDE17# CHECK:       Adding edge at {{.*}} to CIE at: {{.*}}18# CHECK:       Existing edge at {{.*}} to PC begin at {{.*}}19# CHECK:       Adding keep-alive edge from target at {{.*}} to FDE at {{.*}}20# CHECK:   Processing block at21# CHECK:     Record is FDE22# CHECK:       Adding edge at {{.*}} to CIE at: {{.*}}23# CHECK:       Existing edge at {{.*}} to PC begin at {{.*}}24# CHECK:       Adding keep-alive edge from target at {{.*}} to FDE at {{.*}}25 26	.text27	.globl	main28	.p2align	229	.type	main,@function30main: 31	.cfi_startproc32	sub	sp, sp, #3233	.cfi_def_cfa_offset 3234	stp	x29, x30, [sp, #16]35	add	x29, sp, #1636	.cfi_def_cfa w29, 1637	.cfi_offset w30, -838	.cfi_offset w29, -1639	stur	wzr, [x29, #-4]40	mov	x0, #441	bl	__cxa_allocate_exception42	mov	w8, #143	str	w8, [x0]44	adrp	x1, :got:_ZTIi45	ldr	x1, [x1, :got_lo12:_ZTIi]46	mov	x2, xzr47	bl	__cxa_throw48.main_end:49	.size	main, .main_end-main50	.cfi_endproc51 52	.globl	dup53	.p2align	254	.type	dup,@function55dup: 56	.cfi_startproc57	sub	sp, sp, #3258	.cfi_def_cfa_offset 3259	stp	x29, x30, [sp, #16]60	add	x29, sp, #1661	.cfi_def_cfa w29, 1662	.cfi_offset w30, -863	.cfi_offset w29, -1664	stur	wzr, [x29, #-4]65	mov	x0, #466	bl	__cxa_allocate_exception67	mov	w8, #168	str	w8, [x0]69	adrp	x1, :got:_ZTIi70	ldr	x1, [x1, :got_lo12:_ZTIi]71	mov	x2, xzr72	bl	__cxa_throw73.dup_end:74	.size	dup, .dup_end-dup75	.cfi_endproc76