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