[llvm] 4128ede - [JITLink] Tell yaml2obj the MachO file is little-endian. NFC.
Kai Luo via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 26 23:31:56 PST 2023
Author: Kai Luo
Date: 2023-12-27T07:31:42Z
New Revision: 4128edeaadf82245f7ade74900ca3eae0ff94e6a
URL: https://github.com/llvm/llvm-project/commit/4128edeaadf82245f7ade74900ca3eae0ff94e6a
DIFF: https://github.com/llvm/llvm-project/commit/4128edeaadf82245f7ade74900ca3eae0ff94e6a.diff
LOG: [JITLink] Tell yaml2obj the MachO file is little-endian. NFC.
Big-endian is not supported on aarch64 and x86 yet. Try to fix
buildbot failure on ppc64be, https://lab.llvm.org/buildbot/#/builders/93/builds/18057.
Added:
Modified:
llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml
llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml
Removed:
################################################################################
diff --git a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml
index bf72750eece051..e45f2961d0174e 100644
--- a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml
+++ b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml
@@ -6,6 +6,7 @@
# section).
--- !mach-o
+IsLittleEndian: true
FileHeader:
magic: 0xFEEDFACF
cputype: 0x100000C
diff --git a/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml b/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml
index 12542cf7c31427..05c16d1ad1ca3e 100644
--- a/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml
+++ b/llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml
@@ -6,6 +6,7 @@
# section).
--- !mach-o
+IsLittleEndian: true
FileHeader:
magic: 0xFEEDFACF
cputype: 0x1000007
More information about the llvm-commits
mailing list