1 @ RUN: llvm-mc -triple armv7-elf -filetype asm -o - %s | FileCheck %s 2 @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \ 3 @ RUN: | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ 4 .eabi_attribute Tag_CPU_arch, 7 5 @CHECK: .eabi_attribute 6, 7 6 @CHECK-OBJ: Tag: 6 7 @CHECK-OBJ-NEXT: Value: 7 8 @CHECK-OBJ-NEXT: TagName: CPU_arch 9 @CHECK-OBJ-NEXT: Description: ARM v6KZ 10 11 .eabi_attribute Tag_FP_arch, 7 12 @CHECK: .eabi_attribute 10, 7 13 @CHECK-OBJ: Tag: 10 14 @CHECK-OBJ-NEXT: Value: 7 15 @CHECK-OBJ-NEXT: TagName: FP_arch 16 @CHECK-OBJ-NEXT: Description: ARMv8-a FP 17 18 .eabi_attribute Tag_PCS_config, 7 19 @CHECK: .eabi_attribute 13, 7 20 @CHECK-OBJ: Tag: 13 21 @CHECK-OBJ-NEXT: Value: 7 22 @CHECK-OBJ-NEXT: TagName: PCS_config 23 @CHECK-OBJ-NEXT: Description: Reserved (Symbian OS) 24 25 .eabi_attribute Tag_ABI_align_needed, 7 26 @CHECK: .eabi_attribute 24, 7 27 @CHECK-OBJ: Tag: 24 28 @CHECK-OBJ-NEXT: Value: 7 29 @CHECK-OBJ-NEXT: TagName: ABI_align_needed 30 @CHECK-OBJ-NEXT: Description: 8-byte alignment, 128-byte extended alignment 31 32 .eabi_attribute Tag_ABI_align_preserved, 7 33 @CHECK: .eabi_attribute 25, 7 34 @CHECK-OBJ: Tag: 25 35 @CHECK-OBJ-NEXT: Value: 7 36 @CHECK-OBJ-NEXT: TagName: ABI_align_preserved 37 @CHECK-OBJ-NEXT: Description: 8-byte stack alignment, 128-byte data alignment 38 39