HomePhabricator

Fix the case when a coroutine is dynamically replaceable when targeting older os
74ad80d2d9cbUnpublished

Authored by aschwaighofer on Jun 17 2020, 12:36 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix the case when a coroutine is dynamically replaceable when targeting older os

In such a case there will be a call to swift_getFunctionReplacement50 in
the entry block, followed by a call to the replacement function before
the coro.begin. We can safely ignore the call to the replaced function even
though it uses function arguments.

rdar://63804497

Details

Committed
aschwaighoferJun 18 2020, 7:17 AM
Parents
rG0efab1be537d: fix the case when a coroutine is dynamically replaceable
Branches
Unknown
Tags
Unknown