[Distributed] Don't drop dist get accessors from witness tables.

This actually manifested as an pointer auth crash, but the real reason
being is that we messed up the order of elements in the witness table.
If we'd skip the accessor like this, the types we sign/auth with would
no longer align and manifest in a crash.

There is no real reason to skip this entry so we just bring it back, and
avoid making this special in any way.

This unlocks a few tests as well as corrects any distributed+protocol
use where a requirement distributed var was _followed by_ other
requirements.

resolves rdar://125628060
This commit is contained in:
Konrad 'ktoso' Malawski
2025-06-05 11:37:23 +09:00
parent 916e96d753
commit 362783c0f8
4 changed files with 2 additions and 17 deletions

View File

@@ -14,9 +14,6 @@
// rdar://90373022
// UNSUPPORTED: OS=watchos
// rdar://125628060
// UNSUPPORTED: CPU=arm64e
import Distributed
@Resolvable