mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
For a lifetime dependent call that depends on a temporary store_borrow, the generated mark_dependendence should be on the stored value, not the stack location. %temp = alloc_stack $AnyObject %sb = store_borrow %arg to %temp apply %10(%out, %sb) mark_dependence [unresolved] %out on %arg end_borrow %sb Fixes rdar://142847915 (Crash during lifetime checking while building new swift standard library `Span`-related features)
22 KiB
22 KiB