[llvm] 02af25d - [macho2yaml][test] Specify the object file's endianness. NFC.

Xing GUO via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 20:48:38 PDT 2020


Author: Xing GUO
Date: 2020-08-11T11:46:50+08:00
New Revision: 02af25df2be7a52fb8620782afa1f5e8c1b91159

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

LOG: [macho2yaml][test] Specify the object file's endianness. NFC.

This patch is intended to fix testing failure on big endian machine.

Failed testing: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/52450

Added: 
    

Modified: 
    llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml b/llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
index 3de31b91fd77..8b08e8e51597 100644
--- a/llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
+++ b/llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
@@ -30,6 +30,7 @@
 # ARANGES-NEXT:           Length:          0x0000000000005678
 
 --- !mach-o
+IsLittleEndian: true
 FileHeader:
   magic:      0xFEEDFACF
   cputype:    0x01000007


        


More information about the llvm-commits mailing list