Skip to content

Commit 4128ede

Browse files
author
Kai Luo
committed
[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.
1 parent b8424ea commit 4128ede

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/test/ExecutionEngine/JITLink/AArch64/MachO_subtractor_single_block.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# section).
77

88
--- !mach-o
9+
IsLittleEndian: true
910
FileHeader:
1011
magic: 0xFEEDFACF
1112
cputype: 0x100000C

llvm/test/ExecutionEngine/JITLink/x86-64/MachO_subtractor_single_block.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# section).
77

88
--- !mach-o
9+
IsLittleEndian: true
910
FileHeader:
1011
magic: 0xFEEDFACF
1112
cputype: 0x1000007

0 commit comments

Comments
 (0)