[PATCH] D20346: [stack-protection] Add support for MSVC buffer security check

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 08:30:44 PDT 2016


etienneb updated this revision to Diff 59385.
etienneb added a comment.

change cookie type to be consistent:
./lib/Target/X86/X86WinEHState.cpp:

  Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty);


http://reviews.llvm.org/D20346

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/CodeGen/StackProtector.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/stack-protector-msvc.ll
  test/CodeGen/X86/stack-protector-weight.ll
  test/CodeGen/X86/stack-protector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20346.59385.patch
Type: text/x-patch
Size: 61973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160602/865203b8/attachment.bin>


More information about the llvm-commits mailing list