summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_internal.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-12-27 21:13:11 +0000
committerVitaly Buka <vitalybuka@google.com>2016-12-27 21:13:11 +0000
commitf2973dcfe834c476f66c2b36dfcd75bcf3e8d5d5 (patch)
tree44d012659c1f6efe7c24de8b3579940a47e36cd0 /compiler-rt/lib/asan/asan_internal.h
parentfa4a09d8afbfc39fbb3450dd7d3ed41621c2a6bc (diff)
downloadbcm5719-llvm-f2973dcfe834c476f66c2b36dfcd75bcf3e8d5d5.tar.gz
bcm5719-llvm-f2973dcfe834c476f66c2b36dfcd75bcf3e8d5d5.zip
[compiler-rt] Move logic which replace memcpy interceptor with memmove from asan to sanitizer_common.
Reviewers: eugenis Subscribers: kubabrecka, dberris, llvm-commits Differential Revision: https://reviews.llvm.org/D28074 llvm-svn: 290626
Diffstat (limited to 'compiler-rt/lib/asan/asan_internal.h')
-rw-r--r--compiler-rt/lib/asan/asan_internal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h
index a3fe062f73f..1dc678c0c35 100644
--- a/compiler-rt/lib/asan/asan_internal.h
+++ b/compiler-rt/lib/asan/asan_internal.h
@@ -103,17 +103,6 @@ void *AsanDlSymNext(const char *sym);
void ReserveShadowMemoryRange(uptr beg, uptr end, const char *name);
-// Platform-specific options.
-#if SANITIZER_MAC
-bool PlatformHasDifferentMemcpyAndMemmove();
-# define PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE \
- (PlatformHasDifferentMemcpyAndMemmove())
-#elif SANITIZER_WINDOWS64
-# define PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE false
-#else
-# define PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE true
-#endif // SANITIZER_MAC
-
// Add convenient macro for interface functions that may be represented as
// weak hooks.
#define ASAN_MALLOC_HOOK(ptr, size) \
OpenPOWER on IntegriCloud