brintos

brintos / llvm-project-archived public Read only

0
0
Text · 766 B · 52cb067 Raw
42 lines · plain
1@ RUN: llvm-mc -triple arm-unknown-linux -filetype=obj %s -o %t2@ RUN: llvm-objdump -d %t | FileCheck %s3@ RUN: llvm-objdump -d -r %t | FileCheck --check-prefixes=CHECK,RELOC %s4 5	.cpu arm7tdmi6	.global	myInt7	.data8	.align	29	.type	myInt, %object10	.size	myInt, 411myInt:12	.word	113	.text14	.align	215	.global	main16	.type	main, %function17main:18	str	fp, [sp, #-4]!19	add	fp, sp, #020	ldr	r3, .L321	ldr	r3, [r3]22	mov	r0, r323	sub	sp, fp, #024	ldr	fp, [sp], #425	bx	lr26.L4:27	.align	228.L3:29	.word	myInt30	.size	main, .-main31        .global myStr32        .type myStr, %object33myStr:34        .string "test string"35 36 37@ CHECK:       .word   0x0000000038@ RELOC-NEXT:    R_ARM_ABS32  myInt39@ CHECK-EMPTY:40@ CHECK-NEXT:  <myStr>:41@ CHECK-NEXT:    74 65 73 74 20 73 74 72         test str42