summaryrefslogtreecommitdiff
path: root/lld/test/MachO/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/MachO/lit.local.cfg')
-rw-r--r--lld/test/MachO/lit.local.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/lld/test/MachO/lit.local.cfg b/lld/test/MachO/lit.local.cfg
index 929160d0c001..08bec0a1aff1 100644
--- a/lld/test/MachO/lit.local.cfg
+++ b/lld/test/MachO/lit.local.cfg
@@ -2,6 +2,12 @@
import os
+# FIXME: The MachO back-end currently does not respect endianness when
+# accessing binary data structures, and therefore only works correctly
+# on little-endian host systems. Skip all tests on big-endian hosts.
+if sys.byteorder == 'big':
+ config.unsupported = True
+
# We specify the most commonly-used archs and platform versions in our tests
# here. Tests which need different settings can just append to this, as only
# the last value will be used.