Files
swift-mirror/test/SILGen/emplace.swift
Joe Groff 00e59ee7a5 SILGen: Correct ownership forwarding of Builtin.emplace.
Forward the owning cleanup for the temporary buffer (if needed) instead of
creating a new cleanup, to avoid a double-free when both the initialization
cleanup and the value cleanup execute. Fixes rdar://147961840.
2025-04-04 10:22:19 -07:00

3.3 KiB