[Backtracing] Uncached(Local|Remote)MemoryReader only exists on macOS and Linux.

There's no support for this type on anything other than macOS and Linux
right now.

rdar://143865183
This commit is contained in:
Alastair Houghton
2025-01-31 14:22:31 +00:00
parent ec890e8b4e
commit 5d9def94ad

View File

@@ -96,6 +96,7 @@ extension CachingMemoryReader where Reader == UncachedMemserverMemoryReader {
}
#endif
#if os(Linux) || os(macOS)
@_spi(MemoryReaders)
public typealias RemoteMemoryReader = CachingMemoryReader<UncachedRemoteMemoryReader>
@@ -119,3 +120,4 @@ extension CachingMemoryReader where Reader == UncachedLocalMemoryReader {
self.init(for: UncachedLocalMemoryReader())
}
}
#endif // os(Linux) || os(macOS)