[PATCH] [clang/asan] Do not emit memcpy for trivial operator= when -fsanitize-address-field-padding >= 1
Kostya Serebryany
kcc at google.com
Thu Nov 6 18:01:08 PST 2014
Hi majnemer, rsmith,
If we've added poisoned paddings to a type do not emit memcpy for operator=.
http://reviews.llvm.org/D6160
Files:
lib/CodeGen/CGExprCXX.cpp
test/CodeGen/sanitize-address-field-padding.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6160.15904.patch
Type: text/x-patch
Size: 1372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141107/d38393d0/attachment.bin>
More information about the cfe-commits
mailing list