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, 6 5@CHECK: .eabi_attribute 6, 6 6@CHECK-OBJ: Tag: 6 7@CHECK-OBJ-NEXT: Value: 6 8@CHECK-OBJ-NEXT: TagName: CPU_arch 9@CHECK-OBJ-NEXT: Description: ARM v6 10 11.eabi_attribute Tag_FP_arch, 6 12@CHECK: .eabi_attribute 10, 6 13@CHECK-OBJ: Tag: 10 14@CHECK-OBJ-NEXT: Value: 6 15@CHECK-OBJ-NEXT: TagName: FP_arch 16@CHECK-OBJ-NEXT: Description: VFPv4-D16 17 18.eabi_attribute Tag_PCS_config, 6 19@CHECK: .eabi_attribute 13, 6 20@CHECK-OBJ: Tag: 13 21@CHECK-OBJ-NEXT: Value: 6 22@CHECK-OBJ-NEXT: TagName: PCS_config 23@CHECK-OBJ-NEXT: Description: Symbian OS 2004 24 25.eabi_attribute Tag_ABI_align_needed, 6 26@CHECK: .eabi_attribute 24, 6 27@CHECK-OBJ: Tag: 24 28@CHECK-OBJ-NEXT: Value: 6 29@CHECK-OBJ-NEXT: TagName: ABI_align_needed 30@CHECK-OBJ-NEXT: Description: 8-byte alignment, 64-byte extended alignment 31 32.eabi_attribute Tag_ABI_align_preserved, 6 33@CHECK: .eabi_attribute 25, 6 34@CHECK-OBJ: Tag: 25 35@CHECK-OBJ-NEXT: Value: 6 36@CHECK-OBJ-NEXT: TagName: ABI_align_preserved 37@CHECK-OBJ-NEXT: Description: 8-byte stack alignment, 64-byte data alignment 38 39.eabi_attribute Tag_ABI_optimization_goals, 6 40@CHECK: .eabi_attribute 30, 6 41@CHECK-OBJ: Tag: 30 42@CHECK-OBJ-NEXT: Value: 6 43@CHECK-OBJ-NEXT: TagName: ABI_optimization_goals 44@CHECK-OBJ-NEXT: Description: Best Debugging 45 46.eabi_attribute Tag_ABI_FP_optimization_goals, 6 47@CHECK: .eabi_attribute 31, 6 48@CHECK-OBJ: Tag: 31 49@CHECK-OBJ-NEXT: Value: 6 50@CHECK-OBJ-NEXT: TagName: ABI_FP_optimization_goals 51@CHECK-OBJ-NEXT: Description: Best Accuracy 52 53