[PATCH] No memcpy for copy ctor with -fsanitize-address-field-padding=1

Kostya Serebryany kcc at google.com
Wed Dec 3 16:12:19 PST 2014


Hi thakis,

When -fsanitize-address-field-padding=1 is present
don't emit memcpy for copy constructor.
Thanks Nico for the extra test case.

http://reviews.llvm.org/D6515

Files:
  lib/CodeGen/CGClass.cpp
  test/CodeGen/sanitize-address-field-padding.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6515.16898.patch
Type: text/x-patch
Size: 1608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141204/a699f2e3/attachment.bin>


More information about the cfe-commits mailing list