[asan] Enable memtrinsics interception for RTEMS
authorWalter Lee <waltl@google.com>
Thu, 10 May 2018 21:45:13 +0000 (21:45 +0000)
committerWalter Lee <waltl@google.com>
Thu, 10 May 2018 21:45:13 +0000 (21:45 +0000)
commitca804caed046bd9f6cc80b8b9d7ceda4e5f65fab
treec90937a7f14786dd30fa16dc21c1dd7a2de92d53
parent603c7ae232a9a7d379738ce1720cd4db3d97f05a
[asan] Enable memtrinsics interception for RTEMS

Replace decltype(memcpy) with decltype(__asan_memcpy) because memcpy
has not been defined in any headers on RTEMS.  Similarly for memmove
and memset.

Differential Revision: https://reviews.llvm.org/D46625

llvm-svn: 332047
compiler-rt/lib/asan/asan_interceptors_memintrinsics.cc