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

Rainer Orth via All-commits all-commits at lists.llvm.org
Tue Aug 6 00:09:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a226dbe27ac7c7d935bc0968e84e31798a01207
      https://github.com/llvm/llvm-project/commit/3a226dbe27ac7c7d935bc0968e84e31798a01207
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2024-08-06 (Tue, 06 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`.



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