Commit Graph

2 Commits

Author SHA1 Message Date
Michael Gottesman
1046a03fb4 [concurrency] When calling an imported async objc function using continuations, use merge_isolation_region to tie the block storage and the resume buffer into one region.
This ensures that if the block has an @out return value that the return value is
considered to be affected by the actual call of the block. Before b/c we
smuggled the value through a Sendable continuation, we would lose the connection
in between the block and that result.

rdar://131422332
2024-11-01 12:11:44 -07:00
Michael Gottesman
a707691926 [region-isolation] Rename a test from being just for fixed objc crashers to just containing tests for objc in general.
I am doing this in preparation for adding a non-crasher test to this.
2024-11-01 12:11:44 -07:00