[asan] instead of inserting inline instrumentation around memset/memcpy/memmove,...
authorKostya Serebryany <kcc@google.com>
Mon, 21 Apr 2014 11:50:42 +0000 (11:50 +0000)
committerKostya Serebryany <kcc@google.com>
Mon, 21 Apr 2014 11:50:42 +0000 (11:50 +0000)
commit470565b5e49fae38fef47faf24a1d88dc1aa5570
tree70865889a292ab19de2b3ae49e8ed1b622a9cb39
parent57418d8f549cde1969e09ab8909869131abb739f
[asan] instead of inserting inline instrumentation around memset/memcpy/memmove, replace the intrinsic with __asan_memset/etc. This makes the memset/etc handling more complete and consistent with what we do in msan. It may slowdown some cases (when the intrinsic was actually inlined) and speedup other cases (when it was not inlined)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206746 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp