1 @ RUN
: llvm-mc
-triple armv7-elf
-filetype asm
-o
- %s | FileCheck
%s
2 @ RUN
: llvm-mc
-triple armv7-eabi
-filetype obj
-o
- %s \
3 @ RUN
: | llvm-readobj
--arm-attributes
- | FileCheck
%s
--check-prefix
=CHECK-OBJ
4 .eabi_attribute Tag_CPU_arch, 7
5 @CHECK
: .eabi_attribute 6, 7
7 @CHECK-OBJ-NEXT
: Value
: 7
8 @CHECK-OBJ-NEXT
: TagName
: CPU_arch
9 @CHECK-OBJ-NEXT
: Description
: ARM v6KZ
11 .eabi_attribute Tag_FP_arch, 7
12 @CHECK
: .eabi_attribute 10, 7
14 @CHECK-OBJ-NEXT
: Value
: 7
15 @CHECK-OBJ-NEXT
: TagName
: FP_arch
16 @CHECK-OBJ-NEXT
: Description
: ARMv8-
a FP
18 .eabi_attribute Tag_PCS_config, 7
19 @CHECK
: .eabi_attribute 13, 7
21 @CHECK-OBJ-NEXT
: Value
: 7
22 @CHECK-OBJ-NEXT
: TagName
: PCS_config
23 @CHECK-OBJ-NEXT
: Description
: Reserved
(Symbian OS
)
25 .eabi_attribute Tag_ABI_align_needed, 7
26 @CHECK
: .eabi_attribute 24, 7
28 @CHECK-OBJ-NEXT
: Value
: 7
29 @CHECK-OBJ-NEXT
: TagName
: ABI_align_needed
30 @CHECK-OBJ-NEXT
: Description
: 8-byte alignment
, 128-byte extended alignment
32 .eabi_attribute Tag_ABI_align_preserved, 7
33 @CHECK
: .eabi_attribute 25, 7
35 @CHECK-OBJ-NEXT
: Value
: 7
36 @CHECK-OBJ-NEXT
: TagName
: ABI_align_preserved
37 @CHECK-OBJ-NEXT
: Description
: 8-byte stack alignment
, 128-byte data alignment