[llvm] fb2ab1c - [llvm-readobj][ARM] Fix build attributes test's vendor name

Rodolfo Wottrich via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 03:28:00 PDT 2024


Author: Rodolfo Wottrich
Date: 2024-07-16T11:27:50+01:00
New Revision: fb2ab1c5f6ef6c003969f6b14d69b4295a1c710b

URL: https://github.com/llvm/llvm-project/commit/fb2ab1c5f6ef6c003969f6b14d69b4295a1c710b
DIFF: https://github.com/llvm/llvm-project/commit/fb2ab1c5f6ef6c003969f6b14d69b4295a1c710b.diff

LOG: [llvm-readobj][ARM] Fix build attributes test's vendor name

`armabi` is not one of the recognized vendor names in the public Arm
ABI. Use `aeabi` instead.

https://github.com/ARM-software/abi-aa/blob/main/aaelf32/aaelf32.rst#registered-vendor-names

Added: 
    

Modified: 
    llvm/test/tools/llvm-readobj/ELF/ARM/attribute-big-endian.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-readobj/ELF/ARM/attribute-big-endian.test b/llvm/test/tools/llvm-readobj/ELF/ARM/attribute-big-endian.test
index 3b94c7994cf3c..44b5400f059c1 100644
--- a/llvm/test/tools/llvm-readobj/ELF/ARM/attribute-big-endian.test
+++ b/llvm/test/tools/llvm-readobj/ELF/ARM/attribute-big-endian.test
@@ -1,11 +1,11 @@
 # RUN: yaml2obj %s -o %t.o
-# RUN: llvm-readelf -A %t.o 2>&1 | FileCheck %s
+# RUN: llvm-readobj -A %t.o 2>&1 | FileCheck %s
 
 # CHECK:      BuildAttributes {
 # CHECK-NEXT:   FormatVersion: 0x41
 # CHECK-NEXT:   Section 1 {
-# CHECK-NEXT:     SectionLength: 22
-# CHECK-NEXT:     Vendor: armabi
+# CHECK-NEXT:     SectionLength: 6
+# CHECK-NEXT:     Vendor: aeabi
 # CHECK-NEXT:   }
 # CHECK-NEXT: }
 
@@ -18,6 +18,5 @@ FileHeader:
 Sections:
   - Name: .ARM.attributes
     Type: SHT_ARM_ATTRIBUTES
-    ContentArray: [ 0x41, 0x00, 0x00, 0x00, 0x16, 0x61, 0x72, 0x6D, 0x61, 0x62,
-    0x69, 0x00, 0x01, 0x0b, 0x00, 0x00, 0x00, 0x04, 0x01, 0x06, 0x01, 0x08,
-    0x01 ]
+    ContentArray: [ 0x41, 0x00, 0x00, 0x00, 0x06, 0x61, 0x65, 0x61, 0x62, 0x69,
+    0x00 ]


        


More information about the llvm-commits mailing list