[PATCH] D14972: [safestack] Protect byval function arguments.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 24 16:07:21 PST 2015
eugenis created this revision.
eugenis added a reviewer: pcc.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.
Herald added a subscriber: sanjoy.
Detect unsafe byval function arguments and move them to the unsafe
stack.
A simple SDAG change required to handle the case of dbg.declare for
a function parameter pointing to neither a function argument nor an
AllocaInst.
Repository:
rL LLVM
http://reviews.llvm.org/D14972
Files:
include/llvm/Transforms/Utils/Local.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Transforms/Instrumentation/SafeStack.cpp
lib/Transforms/Utils/Local.cpp
test/Transforms/SafeStack/byval.ll
test/Transforms/SafeStack/debug-loc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14972.41096.patch
Type: text/x-patch
Size: 29352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/c4417bbc/attachment.bin>
More information about the llvm-commits
mailing list