mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
23 lines
455 B
ArmAsm
23 lines
455 B
ArmAsm
|
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
|
||
|
@ RUN: | llvm-readobj -arm-attributes | FileCheck %s
|
||
|
|
||
|
.syntax unified
|
||
|
|
||
|
.arch armv7
|
||
|
.object_arch armv4
|
||
|
|
||
|
@ 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: }
|
||
|
|