Skip to content

Commit 16240a1

Browse files
committed
[stdlib] Do not introduce any new ABI symbols for _get*RetainCount
1 parent 34dd632 commit 16240a1

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
@@ -349,19 +349,19 @@ internal func _swift_unownedRetainCount(_: UnsafeMutableRawPointer) -> Int
349349
internal func _swift_weakRetainCount(_: UnsafeMutableRawPointer) -> Int
350350

351351
// Utilities to get refcount(s) of class objects.
352-
@backDeployed(before: SwiftStdlib 6.0)
352+
@_alwaysEmitIntoClient
353353
public func _getRetainCount(_ object: AnyObject) -> UInt {
354354
let count = _withHeapObject(of: object) { _swift_retainCount($0) }
355355
return UInt(bitPattern: count)
356356
}
357357

358-
@backDeployed(before: SwiftStdlib 6.0)
358+
@_alwaysEmitIntoClient
359359
public func _getUnownedRetainCount(_ object: AnyObject) -> UInt {
360360
let count = _withHeapObject(of: object) { _swift_unownedRetainCount($0) }
361361
return UInt(bitPattern: count)
362362
}
363363

364-
@backDeployed(before: SwiftStdlib 6.0)
364+
@_alwaysEmitIntoClient
365365
public func _getWeakRetainCount(_ object: AnyObject) -> UInt {
366366
let count = _withHeapObject(of: object) { _swift_weakRetainCount($0) }
367367
return UInt(bitPattern: count)

0 commit comments

Comments
 (0)