Revert "DI: Fold constant arguments into a single MDString"
[oota-llvm.git] / test / MC / ARM / directive-eabi_attribute-overwrite.s
index 3e257dbe9d5168bffdc893dab5203fa3b36ae45c..6fdded3d83129be109d6a616254fda80b700683b 100644 (file)
@@ -1,5 +1,5 @@
-@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -s -sd \
-@ RUN:   | FileCheck %s
+@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
+@ RUN:   | llvm-readobj -arm-attributes | FileCheck %s -check-prefix CHECK-ATTR
 
        .syntax unified
        .thumb
@@ -7,12 +7,11 @@
        .eabi_attribute Tag_compatibility, 1
        .eabi_attribute Tag_compatibility, 1, "aeabi"
 
-@ CHECK: Section {
-@ CHECK:   Name: .ARM.attributes
-@ CHECK:   Type: SHT_ARM_ATTRIBUTES
-@ CHECK:   SectionData (
-@ CHECK:     0000: 41170000 00616561 62690001 0D000000
-@ CHECK:     0010: 20014145 41424900
-@ CHECK:   )
-@ CHECK: }
+@ CHECK-ATTR: FileAttributes {
+@ CHECK-ATTR:   Attribute {
+@ CHECK-ATTR:     Value: 1, AEABI
+@ CHECK-ATTR:     TagName: compatibility
+@ CHECK-ATTR:     Description: AEABI Conformant
+@ CHECK-ATTR:   }
+@ CHECK-ATTR: }