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

Xun Li via All-commits all-commits at lists.llvm.org
Wed Jun 23 15:34:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f09ec01f1fbbf8920db65a77791d511bf4d03d3c
      https://github.com/llvm/llvm-project/commit/f09ec01f1fbbf8920db65a77791d511bf4d03d3c
  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.

Reviewed By: wenlei

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




More information about the All-commits mailing list