brintos

brintos / llvm-project-archived public Read only

0
0
Text · 664 B · ae582c9 Raw
37 lines · plain
1# RUN: rm -rf %t && mkdir -p %t2# RUN: llvm-mc -triple=aarch64-unknown-linux-gnu -x86-relax-relocations=false \3# RUN:   -position-independent -filetype=obj -o %t/elf_minimal.o %s4# RUN: llvm-jitlink -noexec %t/elf_minimal.o5 6	.text7	.globl	sub18	.p2align	29	.type	sub1,@function10sub1:11	sub	sp, sp, #1612	str	w0, [sp, #12]13	ldr	w8, [sp, #12]14	subs	w0, w8, #115	add	sp, sp, #1616	ret17 18	.size	sub1, .-sub119 20	.globl	main21	.p2align	222	.type	main,@function23main:24	sub	sp, sp, #3225	stp	x29, x30, [sp, #16]26	add	x29, sp, #1627	stur	wzr, [x29, #-4]28	str	w0, [sp, #8]29	str	x1, [sp]30	ldr	w0, [sp, #8]31	bl	sub132	ldp	x29, x30, [sp, #16]33	add	sp, sp, #3234	ret35 36	.size	main, .-main37