[PATCH] D82447: [CFGuard] Split into two passes and link into opt

Andrew Paverd via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 03:44:57 PDT 2020


ajpaverd created this revision.
ajpaverd added reviewers: mehdi_amini, theraven.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
Herald added a project: LLVM.

Split the CFGuard pass into two separate function passes: one using the "dispatch" mechanism (used on X86-64) and the other using the "check" mechanism (for all other supported targets). Link each of these passes into `opt` and add tests for the IR transform.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82447

Files:
  llvm/include/llvm/InitializePasses.h
  llvm/lib/Transforms/CFGuard/CFGuard.cpp
  llvm/test/Transforms/CFGuard/cfguard-check-dispatch.ll
  llvm/tools/opt/CMakeLists.txt
  llvm/tools/opt/LLVMBuild.txt
  llvm/tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82447.272959.patch
Type: text/x-patch
Size: 17353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200624/46f7ecf6/attachment.bin>


More information about the llvm-commits mailing list