Skip to content

Commit aab425c

Browse files
committed
[stdlib] Do not introduce any new ABI symbols for _get*RetainCount
1 parent 4d8c842 commit aab425c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/DebuggerSupport.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,19 +321,19 @@ internal func _swift_unownedRetainCount(_: UnsafeMutableRawPointer) -> Int
321321
internal func _swift_weakRetainCount(_: UnsafeMutableRawPointer) -> Int
322322

323323
// Utilities to get refcount(s) of class objects.
324-
@backDeployed(before: SwiftStdlib 5.11)
324+
@_alwaysEmitIntoClient
325325
public func _getRetainCount(_ object: AnyObject) -> UInt {
326326
let count = _withHeapObject(of: object) { _swift_retainCount($0) }
327327
return UInt(bitPattern: count)
328328
}
329329

330-
@backDeployed(before: SwiftStdlib 5.11)
330+
@_alwaysEmitIntoClient
331331
public func _getUnownedRetainCount(_ object: AnyObject) -> UInt {
332332
let count = _withHeapObject(of: object) { _swift_unownedRetainCount($0) }
333333
return UInt(bitPattern: count)
334334
}
335335

336-
@backDeployed(before: SwiftStdlib 5.11)
336+
@_alwaysEmitIntoClient
337337
public func _getWeakRetainCount(_ object: AnyObject) -> UInt {
338338
let count = _withHeapObject(of: object) { _swift_weakRetainCount($0) }
339339
return UInt(bitPattern: count)

0 commit comments

Comments
 (0)