[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / directive-object_arch.s
blob3b099408555433c1218d3ae8e3bd96daea63f622
1 @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
2 @ RUN: | llvm-readobj --arm-attributes | FileCheck %s
4 .syntax unified
6 .arch armv7
7 .object_arch armv4
9 @ CHECK: FileAttributes {
10 @ CHECK: Attribute {
11 @ CHECK: Tag: 5
12 @ CHECK: TagName: CPU_name
13 @ CHECK: Value: 7
14 @ CHECK: }
15 @ CHECK: Attribute {
16 @ CHECK: Tag: 6
17 @ CHECK: Value: 1
18 @ CHECK: TagName: CPU_arch
19 @ CHECK: Description: ARM v4
20 @ CHECK: }
21 @ CHECK: }