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_profile, 'R'
5@CHECK:   .eabi_attribute 7, 82
6@CHECK-OBJ: Tag: 7
7@CHECK-OBJ-NEXT: Value: 82
8@CHECK-OBJ-NEXT: TagName: CPU_arch_profile
9@CHECK-OBJ-NEXT: Description: Real-time
10
11