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