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, 'M'
5 @CHECK
: .eabi_attribute 7, 77
7 @CHECK-OBJ-NEXT
: Value
: 77
8 @CHECK-OBJ-NEXT
: TagName
: CPU_arch_profile
9 @CHECK-OBJ-NEXT
: Description
: Microcontroller