[llvm-commits] [PATCH] AddressSanitizer: do not wrap memcpy() on Mac OS 10.7

Alexander Potapenko glider at google.com
Tue Jan 31 05:36:17 PST 2012

The attached patch disables wrapping memcpy() on Mac OS Lion, where it
actually falls back to memmove.
In this case we still need to initialize real_memcpy, so we set it to
We check for MACOS_VERSION_SNOW_LEOPARD, because currently only Snow
Leopard and Lion are supported.

Alexander Potapenko
Software Engineer
Google Moscow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asan_memcpy.patch
Type: application/octet-stream
Size: 1027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120131/20bf7759/attachment.obj>

More information about the llvm-commits mailing list