[PATCH] D27052: [compiler-rt][asan] Fix overlaping parameters for memmove/memcpy on windows.
Etienne Bergeron via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 08:49:57 PST 2016
etienneb added a comment.
It's working because `libglesv2!memcpy` and `libglesv2!memcpy` are redirected to
INTERCEPTOR(void*, memcpy, void *to, const void *from, uptr size) {
void *ctx;
ASAN_INTERCEPTOR_ENTER(ctx, memcpy);
if (PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE) {
[...]
} else {
[...]
}
}
https://reviews.llvm.org/D27052
More information about the llvm-commits
mailing list