[PATCH] D28039: Replace WRAP in interceptors with memset, memmove and memcpy implementation

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 14:11:42 PST 2016


vitalybuka added inline comments.


================
Comment at: lib/msan/msan_interceptors.cc:49
+DECLARE_REAL(void *, memcpy, void *dest, const void *src, uptr n)
+DECLARE_REAL(void *, memset, void *dest, int c, uptr n)
 
----------------
eugenis wrote:
> why?
Interceptors defined before inclusion of sanitizer_common_interceptors.inc need REAL(memset).
So we need either move include of sanitizer_common_interceptors.inc or declare here.


https://reviews.llvm.org/D28039





More information about the llvm-commits mailing list