1 ; RUN: llc %s -mtriple=thumbv5-linux-gnueabi -mcpu=xscale -o - | \
2 ; RUN: FileCheck -check-prefix=ASM %s
4 ; RUN: llc %s -mtriple=thumbv5-linux-gnueabi -filetype=obj \
5 ; RUN: -mcpu=xscale -o - | llvm-readobj -s -sd | \
6 ; RUN: FileCheck -check-prefix=OBJ %s
8 ; FIXME: The OBJ test should be a .s to .o test and the ASM test should
9 ; be moved to test/CodeGen/ARM.
11 define void @foo() nounwind {
16 ; ASM: .eabi_attribute 6, 5
17 ; ASM-NEXT: .eabi_attribute 8, 1
18 ; ASM-NEXT: .eabi_attribute 9, 1
23 ; OBJ-NEXT: Name: .ARM.attributes (12)
24 ; OBJ-NEXT: Type: SHT_ARM_ATTRIBUTES
25 ; OBJ-NEXT: Flags [ (0x0)
27 ; OBJ-NEXT: Address: 0x0
28 ; OBJ-NEXT: Offset: 0x38
32 ; OBJ-NEXT: AddressAlignment: 1
33 ; OBJ-NEXT: EntrySize: 0
34 ; OBJ-NEXT: SectionData (
35 ; OBJ-NEXT: 0000: 411F0000 00616561 62690001 15000000
36 ; OBJ-NEXT: 0010: 06050801 09011401 15011703 18011901