llvm/unittests/tools
Mitch Phillips 592aa29380 [cfi-verify] Validate there are no register clobbers between CFI-check and instruction execution.
Summary:
This patch adds another failure mode for `validateCFIProtection(..)`, wherein any register that affects the indirect control flow instruction is clobbered to between the CFI-check and the instruction's execution.

Also includes a modification to make MCInstrDesc::hasDefOfPhysReg public.

Reviewers: vlad.tsyrklevich

Reviewed By: vlad.tsyrklevich

Subscribers: llvm-commits, pcc, kcc

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318238 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-15 00:35:26 +00:00
..
llvm-cfi-verify [cfi-verify] Validate there are no register clobbers between CFI-check and instruction execution. 2017-11-15 00:35:26 +00:00
CMakeLists.txt [unittests] Only build llvm-cfi-verify if X86 is in LLVM_TARGETS_TO_BUILD 2017-10-15 16:55:23 +00:00