SuccessChanges

Summary

  1. [mac/arm] skip MappedMemoryTest that try to map w+x (details)
  2. [ELF][test] Rewrite st_value=0 copy relocation tests (details)
  3. mac/arm: XFAIL the last 2 failing check-llvm tests (details)
Commit eaa09823348a7ba20417c109f4d7b26258c6abe6 by thakis
[mac/arm] skip MappedMemoryTest that try to map w+x

macOS/arm is w^x, so these tests don't work. Fixes these failures:

  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.AllocAndRelease/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.AllocAndReleaseHuge/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.BasicWrite/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/3
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/4
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.MultipleWrite/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/5
  LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/5

Part of PR46647.
The file was modifiedllvm/unittests/Support/MemoryTest.cpp
Commit 5d1c723b73aff4a33c4653b9f675cf18dea8c7d6 by i
[ELF][test] Rewrite st_value=0 copy relocation tests

The original tests have unneeded symbols and copy-relocation-zero-abs-addr.s
does not actually test anything.

Rewrite them and add copy-relocation-zero-addr.s instead.

Add --soname=b so that the address 0x203400 will be stable.  (When linking an
executable with %t.so, the path %t.so will be recorded in the DT_NEEDED entry if
%t.so doesn't have DT_SONAME. .dynstr will have varying lengths on different
systems.)
The file was addedlld/test/ELF/copy-relocation-zero-addr.s
The file was removedlld/test/ELF/Inputs/copy-relocation-zero-abs-addr.s
The file was removedlld/test/ELF/Inputs/copy-relocation-zero-nonabs-addr.s
The file was removedlld/test/ELF/copy-relocation-zero-abs-addr.s
The file was removedlld/test/ELF/copy-relocation-zero-nonabs-addr.s
The file was removedlld/test/ELF/Inputs/copy-relocation-zero-nonabs-addr.script
Commit de1bca4b36deb2a405bed85f7a7c71c09ab3c586 by thakis
mac/arm: XFAIL the last 2 failing check-llvm tests

We should fix them, but let's XFAIL them for now so that we can start
running check-llvm on bots and lock in the passing tests.

Part of PR46647.
The file was modifiedllvm/test/MC/ELF/cfi-version.ll
The file was modifiedllvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp