swift
dbd2f827 - [Runtime] Fix up the heap destroyer in objc_setClassCopyFixupHandler.

Commit
1 year ago
[Runtime] Fix up the heap destroyer in objc_setClassCopyFixupHandler. We fix up the VWT pointer, but not the heap destroyer. This doesn't matter for classes which use ObjC refcounting, which is the common case for dynamic subclasses, because that doesn't use the heap destroyer pointer. But it does matter for classes that use native Swift refcounting, such as classes that don't inherit from NSObject, or actors. rdar://113657917
Author
Parents
  • include/swift/ABI
    • File
      Metadata.h
  • stdlib/public/runtime
    • File
      Metadata.cpp
  • test/Interpreter/SDK
    • File
      dynamic_subclass.swift