mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
91ec991b45
This makes the tests more readable by using the -arm-attributes decoding support in llvm-readobj since that is now available. Change the invocation commands to be similar to other test and use a more precise triple (the tests only require ARM EABI support). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201029 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
468 B
ArmAsm
18 lines
468 B
ArmAsm
@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
|
|
@ RUN: | llvm-readobj -arm-attributes | FileCheck %s -check-prefix CHECK-ATTR
|
|
|
|
.syntax unified
|
|
.thumb
|
|
|
|
.eabi_attribute Tag_compatibility, 1
|
|
.eabi_attribute Tag_compatibility, 1, "aeabi"
|
|
|
|
@ CHECK-ATTR: FileAttributes {
|
|
@ CHECK-ATTR: Attribute {
|
|
@ CHECK-ATTR: Value: 1, AEABI
|
|
@ CHECK-ATTR: TagName: compatibility
|
|
@ CHECK-ATTR: Description: AEABI Conformant
|
|
@ CHECK-ATTR: }
|
|
@ CHECK-ATTR: }
|
|
|