HomePhabricator

[SjLj] Insert UnregisterFn before musttail call

Authored by lxfind on Jun 23 2021, 2:29 PM.

Description

[SjLj] Insert UnregisterFn before musttail call

When inserting UnregisterFn, if there is a musttail call, we must insert before the call so that we don't break the musttail call contract.

Differential Revision: https://reviews.llvm.org/D104807