[all-commits] [llvm/llvm-project] a25761: [LLD][MachO] Do not run Mach-O tests on big-endian...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Tue May 2 00:35:20 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a257616bce1ebb2b2071ee01d7d437074a63dacc
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M lld/test/MachO/lit.local.cfg

  Log Message:
  [LLD][MachO] Do not run Mach-O tests on big-endian hosts

Currently, most Mach-O tests fail when executed on a big-endian host. This is
because the Mach-O back-end does not perform the necessary byte swaps when
accessing the (little-endian) binary file format.

For now, simply consider all Mach-O tests unsupported on big-endian hosts,
to enable running the test suite at all on such hosts.

Reviewed by: oontvoo

Differential Revision: https://reviews.llvm.org/D149270

More information about the All-commits mailing list