[PATCH] D34789: Copy arguments passed by value into explicit allocas for ASan

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 10:29:22 PDT 2017


morehouse updated this revision to Diff 105470.
morehouse added a comment.
Herald added a subscriber: hiraditya.

Remove ArgNum counter.  Add compile-time flag to disable redzones for byval arguments.  Check memcpy alignment in test case.  Add test case for unnamed argument with no explicit alignment.


https://reviews.llvm.org/D34789

Files:
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/test/Instrumentation/AddressSanitizer/stack-poisoning-byval-args.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34789.105470.patch
Type: text/x-patch
Size: 5303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/a4ab5ecc/attachment.bin>


More information about the llvm-commits mailing list