[llvm] 655923d - [macho2yaml][test] Specify the object file's endianness. NFC.
Xing GUO via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 20:15:17 PDT 2020
Author: Xing GUO
Date: 2020-08-11T11:14:54+08:00
New Revision: 655923de3d8a5a40b2dc4592ed78f0d6f38a6fbe
URL: https://github.com/llvm/llvm-project/commit/655923de3d8a5a40b2dc4592ed78f0d6f38a6fbe
DIFF: https://github.com/llvm/llvm-project/commit/655923de3d8a5a40b2dc4592ed78f0d6f38a6fbe.diff
LOG: [macho2yaml][test] Specify the object file's endianness. NFC.
This change specifies the endianness of the generated object file to fix
the testing failure.
Testing failure: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/52449
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 b9d005297717..3de31b91fd77 100644
--- a/llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
+++ b/llvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
@@ -100,6 +100,7 @@ DWARF:
# RUN: yaml2obj --docnum=2 %s | obj2yaml | FileCheck %s -DSEGNAME=FOO --check-prefix=ARANGES
--- !mach-o
+IsLittleEndian: true
FileHeader:
magic: 0xFEEDFACF
cputype: 0x01000007
More information about the llvm-commits
mailing list