[all-commits] [llvm/llvm-project] aa3bbf: [BinaryFormat] Disable MachOTest.UnalignedLC on SP...

Rainer Orth via All-commits all-commits at lists.llvm.org
Sat Aug 10 03:01:13 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: aa3bbf147fbbd289485e7bdf12d27c1d3c0169c6
      https://github.com/llvm/llvm-project/commit/aa3bbf147fbbd289485e7bdf12d27c1d3c0169c6
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M llvm/unittests/BinaryFormat/MachOTest.cpp

  Log Message:
  -----------
  [BinaryFormat] Disable MachOTest.UnalignedLC on SPARC (#100086)

As discussed in Issue #86793, the `MachOTest.UnalignedLC` test dies with
`SIGBUS` on SPARC, a strict-alignment target. It simply cannot work
there. Besides, the test invokes undefined behaviour on big-endian
targets, so this patch disables it on all of those.

Tested on `sparcv9-sun-solaris2.11` and `amd64-pc-solaris2.11`.

(cherry picked from commit 3a226dbe27ac7c7d935bc0968e84e31798a01207)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list