xref: /aosp_15_r20/external/llvm/test/tools/llvm-readobj/ARM/attribute-7.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, 7
5*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 6, 7
6*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 6
7*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 7
8*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: CPU_arch
9*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARM v6KZ
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_FP_arch, 7
12*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 10, 7
13*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 10
14*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 7
15*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: FP_arch
16*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARMv8-a FP
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_PCS_config, 7
19*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 13, 7
20*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 13
21*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 7
22*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: PCS_config
23*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: Reserved (Symbian OS)
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_needed, 7
26*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 24, 7
27*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 24
28*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 7
29*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_needed
30*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte alignment, 128-byte extended alignment
31*9880d681SAndroid Build Coastguard Worker
32*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_preserved, 7
33*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 25, 7
34*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 25
35*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 7
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, 128-byte data alignment
38*9880d681SAndroid Build Coastguard Worker
39