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