Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -triple=armv7-linux-gnueabi -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
      2 
      3     .text
      4 @ $a at 0x0000
      5     add r0, r0, r0
      6 @ $d at 0x0004
      7     .word 42
      8     .thumb
      9 @ $t at 0x0008
     10     adds r0, r0, r0
     11     adds r0, r0, r0
     12 @ $a at 0x000c
     13     .arm
     14     add r0, r0, r0
     15 @ $t at 0x0010
     16     .thumb
     17     adds r0, r0, r0
     18 @ $d at 0x0012
     19     .ascii "012"
     20     .byte 1
     21     .byte 2
     22     .byte 3
     23 @ $a at 0x0018
     24     .arm
     25     add r0, r0, r0
     26 
     27 @ CHECK:      00000000         .text  00000000 $a
     28 @ CHECK-NEXT: 0000000c         .text  00000000 $a
     29 @ CHECK-NEXT: 00000018         .text  00000000 $a
     30 @ CHECK-NEXT: 00000004         .text  00000000 $d
     31 @ CHECK-NEXT: 00000012         .text  00000000 $d
     32 @ CHECK-NEXT: 00000008         .text  00000000 $t
     33 @ CHECK-NEXT: 00000010         .text  00000000 $t
     34