Home | History | Annotate | Download | only in ARM
      1 # RUN: llvm-mc < %s -triple armv7-apple-darwin -filetype=obj | llvm-objdump -m -d - | FileCheck %s
      2 	.thumb
      3 	.thumb_func	_t
      4 _t:
      5 	movw	r3, :lower16:(Str-(PCinst+4))
      6 	movt	r3, :upper16:(Str-(PCinst+4))
      7 	.thumb_func	PCinst
      8 PCinst:
      9 	add	r3, pc
     10 
     11 	.section	__TEXT,__cstring,cstring_literals
     12 Str: 
     13 	.asciz	"Hello world\n"
     14 # CHECK: movw	r3, :lower16:((Str-PCinst)-4)
     15 # CHECK: movt	r3, :upper16:((Str-PCinst)-4)
     16