xref: /aosp_15_r20/external/llvm/test/tools/llvm-readobj/ARM/attribute-5.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -triple armv7-elf -filetype asm -o - %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
3*9880d681SAndroid Build Coastguard Worker@ RUN:   | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ
4*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_CPU_arch, 5
5*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 6, 5
6*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 6
7*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
8*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: CPU_arch
9*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARM v5TEJ
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_FP_arch, 5
12*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 10, 5
13*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 10
14*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
15*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: FP_arch
16*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: VFPv4
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_PCS_config, 5
19*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 13, 5
20*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 13
21*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
22*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: PCS_config
23*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Reserved (Palm OS)
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_needed, 5
26*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 24, 5
27*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 24
28*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
29*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_needed
30*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte alignment, 32-byte extended alignment
31*9880d681SAndroid Build Coastguard Worker
32*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_preserved, 5
33*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 25, 5
34*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 25
35*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
36*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_preserved
37*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte stack alignment, 32-byte data alignment
38*9880d681SAndroid Build Coastguard Worker
39*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_optimization_goals, 5
40*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 30, 5
41*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 30
42*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
43*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_optimization_goals
44*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Debugging
45*9880d681SAndroid Build Coastguard Worker
46*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_FP_optimization_goals, 5
47*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 31, 5
48*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 31
49*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 5
50*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_FP_optimization_goals
51*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Accuracy
52*9880d681SAndroid Build Coastguard Worker
53