mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Given any heap object, this method dumps: * The pointer address of the heap object. * The pointer address of the heap metadata of the object. * The strong reference count. * The unowned reference count. * The weak reference count. * Whether or not the value is in the deinit state. * Whether or not the heap object uses swift_retain or objc_retain. * The address of the object's side table if one exists. This makes it really easy when debugging quickly to get all of the information that you could possibly need from a HeapObject.