Home | History | Annotate | Download | only in ARM
      1 @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -s -sd \
      2 @ RUN:   | FileCheck %s
      3 
      4 	.syntax unified
      5 
      6 	.text
      7 
      8 	.even
      9 
     10 	.global aligned_function
     11 	.type aligned_function,%function
     12 aligned_function:
     13 	bkpt
     14 
     15 	.space 5
     16 
     17 	.even
     18 
     19 	.global unaligned_function
     20 	.type unaligned_function,%function
     21 unaligned_function:
     22 	bkpt
     23 
     24 @ CHECK: Section {
     25 @ CHECK:   Name: .text
     26 @ CHECK:   SectionData (
     27 @ CHECK:     0000: 700020E1 00000000 00007000 20E1
     28 @ CHECK:   )
     29 @ CHECK: }
     30 
     31 	.data
     32 
     33 	.space 15
     34 
     35 	.even
     36 
     37 	.global classifiable
     38 	.type classifiable,%object
     39 classifiable:
     40 	.byte 0xf1
     41 	.byte 0x51
     42 	.byte 0xa5
     43 	.byte 0xc1
     44 	.byte 0x00
     45 	.byte 0x00
     46 	.byte 0x1e
     47 	.byte 0xab
     48 
     49 	.even
     50 
     51 	.global declassified
     52 	.type declassified,%object
     53 declassified:
     54 	.byte 0x51
     55 	.byte 0xa5
     56 	.byte 0xc1
     57 	.byte 0xde
     58 	.byte 0x00
     59 	.byte 0x00
     60 	.byte 0xed
     61 	.byte 0xf1
     62 
     63 @ CHECK: Section {
     64 @ CHECK:   Name: .data
     65 @ CHECK:   SectionData (
     66 @ CHECK:     0000: 00000000 00000000 00000000 00000000
     67 @ CHECK:     0010: F151A5C1 00001EAB 51A5C1DE 0000EDF1
     68 @ CHECK:   )
     69 @ CHECK: }
     70 
     71