Skip to content

Commit 138a8f6

Browse files
authored
Remove shared cache information. (#2332)
This is probably not required in the public API at this point, and it is quite system specific.
1 parent 3c0288b commit 138a8f6

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

proposals/0419-backtrace-api.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -197,26 +197,6 @@ public struct Backtrace: CustomStringConvertible, Codable, Sendable {
197197
/// separately yourself using `captureImages()`.
198198
public var images: [Image]?
199199

200-
/// Holds information about the shared cache.
201-
public struct SharedCacheInfo: Identifiable, Codable, Sendable {
202-
/// The image ID (UUID) from the shared cache.
203-
public var imageID: [UInt8] { get }
204-
205-
/// The base address of the shared cache.
206-
public var baseAddress: Address { get }
207-
208-
/// Says whether there is in fact a shared cache.
209-
public var hasSharedCache: Bool { get }
210-
}
211-
212-
/// Information about the shared cache.
213-
///
214-
/// On systems with a shared cache, holds information about the status of
215-
/// the shared cache; note that on systems that support a shared cache,
216-
/// but where the shared cache is not present, this will not be `nil`;
217-
/// instead, the `hasSharedCache` flag will be `false`.
218-
public var sharedCacheInfo: SharedCacheInfo?
219-
220200
/// Capture a backtrace from the current program location.
221201
///
222202
/// The `capture()` method itself will not be included in the backtrace;
@@ -248,11 +228,6 @@ public struct Backtrace: CustomStringConvertible, Codable, Sendable {
248228
/// @returns A list of `Image`s.
249229
public static func captureImages() -> [Image]
250230

251-
/// Capture shared cache information.
252-
///
253-
/// @returns A `SharedCacheInfo`.
254-
public static func captureSharedCacheInfo() -> SharedCacheInfo
255-
256231
/// Specifies options for the `symbolicated` method.
257232
public struct SymbolicationOptions: OptionSet {
258233
public let rawValue: Int
@@ -415,9 +390,6 @@ public struct SymbolicatedBacktrace: CustomStringConvertible, Codable, Sendable
415390
/// A list of images found in the process.
416391
public var images: [Backtrace.Image]
417392

418-
/// Shared cache information.
419-
public var sharedCacheInfo: Backtrace.SharedCacheInfo?
420-
421393
/// True if this backtrace is a Swift runtime failure.
422394
public var isSwiftRuntimeFailure: Bool { get }
423395

0 commit comments

Comments
 (0)