[PATCH] D29649: [X86] Add X86SafeStackBoundsChecking pass

Michael LeMay via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 08:20:27 PST 2017


mlemay-intel created this revision.
Herald added a subscriber: mgorny.

The X86SafeStackBoundsChecking pass identifies stores that are not authorized to
access safe stacks and instruments them with MPX bounds checking instructions to
help prevent stray writes that could corrupt safe stacks.

This pass is enabled with the separate-stack-seg feature on 64-bit targets.


https://reviews.llvm.org/D29649

Files:
  lib/Target/X86/CMakeLists.txt
  lib/Target/X86/X86.h
  lib/Target/X86/X86SafeStackBoundsChecking.cpp
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/X86/safestack-bounds-checking.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29649.87446.patch
Type: text/x-patch
Size: 19638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/f1103231/attachment.bin>


More information about the llvm-commits mailing list