Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc %s -mtriple=thumbv5-linux-gnueabi -mcpu=xscale -o - | \
      2 ; RUN: FileCheck -check-prefix=ASM %s
      3 
      4 ; RUN: llc %s -mtriple=thumbv5-linux-gnueabi -filetype=obj \
      5 ; RUN: -mcpu=xscale -o - | elf-dump --dump-section-data | \
      6 ; RUN: FileCheck -check-prefix=OBJ %s
      7 
      8 ; FIXME: The OBJ test should be a .s to .o test and the ASM test should
      9 ; be moved to test/CodeGen/ARM.
     10 
     11 define void @foo() nounwind {
     12 entry:
     13   ret void
     14 }
     15 
     16 ; ASM:           .eabi_attribute 6, 5
     17 ; ASM-NEXT:      .eabi_attribute 8, 1
     18 ; ASM-NEXT:      .eabi_attribute 9, 1
     19 
     20 ; OBJ:           Section 4
     21 ; OBJ-NEXT:      'sh_name', 0x0000000c
     22 ; OBJ-NEXT:      'sh_type', 0x70000003
     23 ; OBJ-NEXT:	   'sh_flags', 0x00000000
     24 ; OBJ-NEXT:	   'sh_addr', 0x00000000
     25 ; OBJ-NEXT:	   'sh_offset', 0x00000038
     26 ; OBJ-NEXT:	   'sh_size', 0x00000020
     27 ; OBJ-NEXT:	   'sh_link', 0x00000000
     28 ; OBJ-NEXT:	   'sh_info', 0x00000000
     29 ; OBJ-NEXT:	   'sh_addralign', 0x00000001
     30 ; OBJ-NEXT:	   'sh_entsize', 0x00000000
     31 ; OBJ-NEXT:      '_section_data', '411f0000 00616561 62690001 15000000 06050801 09011401 15011703 18011901'
     32