2014-01-30 12:46:41 +08:00
|
|
|
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
|
2019-05-01 13:27:20 +08:00
|
|
|
@ RUN: | llvm-readobj --arm-attributes | FileCheck %s
|
2014-01-30 12:46:41 +08:00
|
|
|
|
|
|
|
.syntax unified
|
|
|
|
|
|
|
|
.object_arch armv4
|
|
|
|
.arch armv7
|
|
|
|
|
|
|
|
@ CHECK: FileAttributes {
|
|
|
|
@ CHECK: Attribute {
|
|
|
|
@ CHECK: Tag: 5
|
|
|
|
@ CHECK: TagName: CPU_name
|
|
|
|
@ CHECK: Value: 7
|
|
|
|
@ CHECK: }
|
|
|
|
@ CHECK: Attribute {
|
|
|
|
@ CHECK: Tag: 6
|
2017-01-10 05:38:14 +08:00
|
|
|
@ CHECK: Value: 1
|
2014-01-30 12:46:41 +08:00
|
|
|
@ CHECK: TagName: CPU_arch
|
|
|
|
@ CHECK: Description: ARM v4
|
|
|
|
@ CHECK: }
|
|
|
|
@ CHECK: }
|
|
|
|
|