xref: /aosp_15_r20/external/llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
2*9880d681SAndroid Build Coastguard Worker@ RUN:   | llvm-readobj -arm-attributes | FileCheck %s -check-prefix CHECK-ATTR
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker	.syntax unified
5*9880d681SAndroid Build Coastguard Worker	.thumb
6*9880d681SAndroid Build Coastguard Worker	.eabi_attribute Tag_compatibility, 1, "aeabi"
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR: FileAttributes {
9*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR:   Attribute {
10*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR:     Value: 1, aeabi
11*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR:     TagName: compatibility
12*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR:     Description: AEABI Conformant
13*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR:   }
14*9880d681SAndroid Build Coastguard Worker@ CHECK-ATTR: }
15*9880d681SAndroid Build Coastguard Worker
16