xref: /aosp_15_r20/external/llvm/test/tools/llvm-readobj/ARM/attribute-6.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, 6
5*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 6, 6
6*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 6
7*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
8*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: CPU_arch
9*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARM v6
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_FP_arch, 6
12*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 10, 6
13*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 10
14*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
15*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: FP_arch
16*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: VFPv4-D16
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_PCS_config, 6
19*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 13, 6
20*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 13
21*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
22*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: PCS_config
23*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Symbian OS 2004
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_needed, 6
26*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 24, 6
27*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 24
28*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
29*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_needed
30*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte alignment, 64-byte extended alignment
31*9880d681SAndroid Build Coastguard Worker
32*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_preserved, 6
33*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 25, 6
34*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 25
35*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
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, 64-byte data alignment
38*9880d681SAndroid Build Coastguard Worker
39*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_optimization_goals, 6
40*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 30, 6
41*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 30
42*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
43*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_optimization_goals
44*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Best Debugging
45*9880d681SAndroid Build Coastguard Worker
46*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_FP_optimization_goals, 6
47*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 31, 6
48*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 31
49*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 6
50*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_FP_optimization_goals
51*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Best Accuracy
52*9880d681SAndroid Build Coastguard Worker
53