xref: /aosp_15_r20/external/llvm/test/tools/llvm-readobj/ARM/attribute-10.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, 10
5*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 6, 10
6*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 6
7*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 10
8*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: CPU_arch
9*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: ARM v7
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_needed, 10
12*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 24, 10
13*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 24
14*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 10
15*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_needed
16*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte alignment, 1024-byte extended alignment
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker.eabi_attribute  Tag_ABI_align_preserved, 10
19*9880d681SAndroid Build Coastguard Worker@CHECK:   .eabi_attribute 25, 10
20*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ: Tag: 25
21*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Value: 10
22*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: TagName: ABI_align_preserved
23*9880d681SAndroid Build Coastguard Worker@CHECK-OBJ-NEXT: Description: 8-byte stack alignment, 1024-byte data alignment
24*9880d681SAndroid Build Coastguard Worker
25