mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
* Release node factory storage after each demangling operation This adds missing clear() operations to a number of places in RemoteMirror in order to reclaim memory after (de)mangling results are no longer needed. Before this, the RemoteMirror library had an unfortunate tendency to use excessive amounts of memory as the demangler kept appending data to its internal slab allocator. Resolves rdar://72958641 * Include payload cases even if we cannot retrieve the typeinfo Otherwise, we end up with inconsistent counts of payload and non-payload cases, which screws up some of the enum management. * Add a very basic check of enum with CF payload.