• 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 -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ
4.eabi_attribute  Tag_CPU_arch, 5
5@CHECK:   .eabi_attribute 6, 5
6@CHECK-OBJ: Tag: 6
7@CHECK-OBJ-NEXT: Value: 5
8@CHECK-OBJ-NEXT: TagName: CPU_arch
9@CHECK-OBJ-NEXT: Description: ARM v5TEJ
10
11.eabi_attribute  Tag_FP_arch, 5
12@CHECK:   .eabi_attribute 10, 5
13@CHECK-OBJ: Tag: 10
14@CHECK-OBJ-NEXT: Value: 5
15@CHECK-OBJ-NEXT: TagName: FP_arch
16@CHECK-OBJ-NEXT: Description: VFPv4
17
18.eabi_attribute  Tag_PCS_config, 5
19@CHECK:   .eabi_attribute 13, 5
20@CHECK-OBJ: Tag: 13
21@CHECK-OBJ-NEXT: Value: 5
22@CHECK-OBJ-NEXT: TagName: PCS_config
23@CHECK-OBJ-NEXT: Description: Reserved (Palm OS)
24
25.eabi_attribute  Tag_ABI_align_needed, 5
26@CHECK:   .eabi_attribute 24, 5
27@CHECK-OBJ: Tag: 24
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
31
32.eabi_attribute  Tag_ABI_align_preserved, 5
33@CHECK:   .eabi_attribute 25, 5
34@CHECK-OBJ: Tag: 25
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
38
39.eabi_attribute  Tag_ABI_optimization_goals, 5
40@CHECK:   .eabi_attribute 30, 5
41@CHECK-OBJ: Tag: 30
42@CHECK-OBJ-NEXT: Value: 5
43@CHECK-OBJ-NEXT: TagName: ABI_optimization_goals
44@CHECK-OBJ-NEXT: Description: Debugging
45
46.eabi_attribute  Tag_ABI_FP_optimization_goals, 5
47@CHECK:   .eabi_attribute 31, 5
48@CHECK-OBJ: Tag: 31
49@CHECK-OBJ-NEXT: Value: 5
50@CHECK-OBJ-NEXT: TagName: ABI_FP_optimization_goals
51@CHECK-OBJ-NEXT: Description: Accuracy
52
53