summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/directive-object_arch-2.s
blob: 3aca434a1e4c685ecfceab2c1cc89c106c58384d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
@ RUN:   | llvm-readobj -arm-attributes | FileCheck %s

	.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
@ CHEKC:     Value: 1
@ CHECK:     TagName: CPU_arch
@ CHECK:     Description: ARM v4
@ CHECK:   }
@ CHECK: }