• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ
4.eabi_attribute  Tag_CPU_arch, 4
5@CHECK:   .eabi_attribute 6, 4
6@CHECK-OBJ: Tag: 6
7@CHECK-OBJ-NEXT: Value: 4
8@CHECK-OBJ-NEXT: TagName: CPU_arch
9@CHECK-OBJ-NEXT: Description: ARM v5TE
10
11.eabi_attribute  Tag_FP_arch, 4
12@CHECK:   .eabi_attribute 10, 4
13@CHECK-OBJ: Tag: 10
14@CHECK-OBJ-NEXT: Value: 4
15@CHECK-OBJ-NEXT: TagName: FP_arch
16@CHECK-OBJ-NEXT: Description: VFPv3-D16
17
18.eabi_attribute  Tag_Advanced_SIMD_arch, 4
19@CHECK:   .eabi_attribute 12, 4
20@CHECK-OBJ: Tag: 12
21@CHECK-OBJ-NEXT: Value: 4
22@CHECK-OBJ-NEXT: TagName: Advanced_SIMD_arch
23@CHECK-OBJ-NEXT: Description: ARMv8.1-a NEON
24
25.eabi_attribute  Tag_PCS_config, 4
26@CHECK:   .eabi_attribute 13, 4
27@CHECK-OBJ: Tag: 13
28@CHECK-OBJ-NEXT: Value: 4
29@CHECK-OBJ-NEXT: TagName: PCS_config
30@CHECK-OBJ-NEXT: Description: Palm OS 2004
31
32.eabi_attribute  Tag_ABI_PCS_wchar_t, 4
33@CHECK:   .eabi_attribute 18, 4
34@CHECK-OBJ: Tag: 18
35@CHECK-OBJ-NEXT: Value: 4
36@CHECK-OBJ-NEXT: TagName: ABI_PCS_wchar_t
37@CHECK-OBJ-NEXT: Description: 4-byte
38
39.eabi_attribute  Tag_ABI_align_needed, 4
40@CHECK:   .eabi_attribute 24, 4
41@CHECK-OBJ: Tag: 24
42@CHECK-OBJ-NEXT: Value: 4
43@CHECK-OBJ-NEXT: TagName: ABI_align_needed
44@CHECK-OBJ-NEXT: Description: 8-byte alignment, 16-byte extended alignment
45
46.eabi_attribute  Tag_ABI_align_preserved, 4
47@CHECK:   .eabi_attribute 25, 4
48@CHECK-OBJ: Tag: 25
49@CHECK-OBJ-NEXT: Value: 4
50@CHECK-OBJ-NEXT: TagName: ABI_align_preserved
51@CHECK-OBJ-NEXT: Description: 8-byte stack alignment, 16-byte data alignment
52
53.eabi_attribute  Tag_ABI_optimization_goals, 4
54@CHECK:   .eabi_attribute 30, 4
55@CHECK-OBJ: Tag: 30
56@CHECK-OBJ-NEXT: Value: 4
57@CHECK-OBJ-NEXT: TagName: ABI_optimization_goals
58@CHECK-OBJ-NEXT: Description: Aggressive Size
59
60.eabi_attribute  Tag_ABI_FP_optimization_goals, 4
61@CHECK:   .eabi_attribute 31, 4
62@CHECK-OBJ: Tag: 31
63@CHECK-OBJ-NEXT: Value: 4
64@CHECK-OBJ-NEXT: TagName: ABI_FP_optimization_goals
65@CHECK-OBJ-NEXT: Description: Aggressive Size
66
67