brintos

brintos / llvm-project-archived public Read only

0
0
Text · 793 B · ef80311 Raw
28 lines · plain
1@ RUN: llvm-mc -triple=thumbv7-apple-darwin -filetype=obj -o - < %s | llvm-readobj -S --sd - | FileCheck %s2.thumb3.thumb_func t4t:	nop5 6.data7.space 4441096 - 4 - 28 9.section __TEXT, __branch, regular, pure_instructions10.thumb11.thumb_func b12b:13	bl	t14# We are checking that the branch and link instruction which is:15#	bl	#-444109616# has it displacement encoded correctly with respect to the J1 and J2 bits when17# the branch is assembled with a label not a displacement.18# rdar://1014968919 20# CHECK: Section {21# CHECK:   Index: 222# CHECK:   Name: __branch (5F 5F 62 72 61 6E 63 68 00 00 00 00 00 00 00 00)23# CHECK:   Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)24# CHECK:   SectionData (25# CHECK:     0000: C3F7FCF5                             |....|26# CHECK:   )27# CHECK: }28