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