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, 5
5 @CHECK
: .eabi_attribute 6, 5
7 @CHECK-OBJ-NEXT
: Value
: 5
8 @CHECK-OBJ-NEXT
: TagName
: CPU_arch
9 @CHECK-OBJ-NEXT
: Description
: ARM v5TEJ
11 .eabi_attribute Tag_FP_arch, 5
12 @CHECK
: .eabi_attribute 10, 5
14 @CHECK-OBJ-NEXT
: Value
: 5
15 @CHECK-OBJ-NEXT
: TagName
: FP_arch
16 @CHECK-OBJ-NEXT
: Description
: VFPv4
18 .eabi_attribute Tag_PCS_config, 5
19 @CHECK
: .eabi_attribute 13, 5
21 @CHECK-OBJ-NEXT
: Value
: 5
22 @CHECK-OBJ-NEXT
: TagName
: PCS_config
23 @CHECK-OBJ-NEXT
: Description
: Reserved
(Palm OS
)
25 .eabi_attribute Tag_ABI_align_needed, 5
26 @CHECK
: .eabi_attribute 24, 5
28 @CHECK-OBJ-NEXT
: Value
: 5
29 @CHECK-OBJ-NEXT
: TagName
: ABI_align_needed
30 @CHECK-OBJ-NEXT
: Description
: 8-byte alignment
, 32-byte extended alignment
32 .eabi_attribute Tag_ABI_align_preserved, 5
33 @CHECK
: .eabi_attribute 25, 5
35 @CHECK-OBJ-NEXT
: Value
: 5
36 @CHECK-OBJ-NEXT
: TagName
: ABI_align_preserved
37 @CHECK-OBJ-NEXT
: Description
: 8-byte stack alignment
, 32-byte data alignment
39 .eabi_attribute Tag_ABI_optimization_goals, 5
40 @CHECK
: .eabi_attribute 30, 5
42 @CHECK-OBJ-NEXT
: Value
: 5
43 @CHECK-OBJ-NEXT
: TagName
: ABI_optimization_goals
44 @CHECK-OBJ-NEXT
: Description
: Debugging
46 .eabi_attribute Tag_ABI_FP_optimization_goals, 5
47 @CHECK
: .eabi_attribute 31, 5
49 @CHECK-OBJ-NEXT
: Value
: 5
50 @CHECK-OBJ-NEXT
: TagName
: ABI_FP_optimization_goals
51 @CHECK-OBJ-NEXT
: Description
: Accuracy