[all-commits] [llvm/llvm-project] 974d64: CET for Exception Handle

Pengfei Wang via All-commits all-commits at lists.llvm.org
Tue Mar 17 22:37:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 974d649f8eaf3026ccb9d1b77bdec55da25366e5
      https://github.com/llvm/llvm-project/commit/974d649f8eaf3026ccb9d1b77bdec55da25366e5
  Author: Pengfei Wang <pengfei.wang at intel.com>
  Date:   2020-03-17 (Tue, 17 Mar 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
    A llvm/test/CodeGen/X86/indirect-branch-tracking-eh.ll

  Log Message:
  -----------
  CET for Exception Handle

Summary:
Bug fix for https://bugs.llvm.org/show_bug.cgi?id=45182
Exception handle may indirectly jump to catch pad, So we should add ENDBR instruction before catch pad instructions.

Reviewers: craig.topper, hjl.tools, LuoYuanke, annita.zhang, pengfei

Reviewed By: LuoYuanke

Subscribers: hiraditya, llvm-commits

Patch By: Xiang Zhang (xiangzhangllvm)

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




More information about the All-commits mailing list