[all-commits] [llvm/llvm-project] f36703: [SjLj] Insert UnregisterFn before musttail call

Xun Li via All-commits all-commits at lists.llvm.org
Wed Jun 23 14:29:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f36703ada3dc18388ef5cdcbb8f39f74c27ad8e9
      https://github.com/llvm/llvm-project/commit/f36703ada3dc18388ef5cdcbb8f39f74c27ad8e9
  Author: Xun Li <lxfind at gmail.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M llvm/lib/CodeGen/SjLjEHPrepare.cpp
    A llvm/test/CodeGen/X86/sjlj-eh-musttail.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list