Commit Graph

3 Commits

Author SHA1 Message Date
Doug Gregor
06061a628a Fold away unnecessary SWIFT_CONCURRENCY_BACK_DEPLOYMENT checks 2022-06-06 14:57:48 -07:00
Mike Ash
fa09001923 Fix actor/job/task leaks in the back deployment runtime.
When initializing an actor, job, or task, use _swift_instantiateInertHeapObject to have the OS's libswiftCore set up the object's refcounts field, to ensure we get a valid initial state.

There is no equivalent for immortal objects, but by a stroke of luck the new representation for immortal refcounts happens to set the immortal bit in the old representation.

rdar://93087343
2022-06-06 14:56:59 -07:00
Doug Gregor
ffb37ed057 Inline the Swift 5.6 concurrency library as a separate back-deploy library 2022-06-06 10:38:25 -07:00