summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-12-27 21:30:20 +0000
committerVitaly Buka <vitalybuka@google.com>2016-12-27 21:30:20 +0000
commitec494b2675fc0bbe5843b342886dee1966930aa7 (patch)
tree50e2079d8167b053308c6f8c38a43dc8e26a71d1
parentf24e52c0c27d9195b947c776c7ac00459cdf4205 (diff)
downloadbcm5719-llvm-ec494b2675fc0bbe5843b342886dee1966930aa7.tar.gz
bcm5719-llvm-ec494b2675fc0bbe5843b342886dee1966930aa7.zip
[compiler-rt] Fix compilation error after r290626
llvm-svn: 290629
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
index 1d58205e786..ca571d1a9fd 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -72,9 +72,11 @@
// Platform-specific options.
#if SANITIZER_MAC
+namespace __sanitizer {
bool PlatformHasDifferentMemcpyAndMemmove();
+}
#define PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE \
- (PlatformHasDifferentMemcpyAndMemmove())
+ (__sanitizer::PlatformHasDifferentMemcpyAndMemmove())
#elif SANITIZER_WINDOWS64
#define PLATFORM_HAS_DIFFERENT_MEMCPY_AND_MEMMOVE false
#else
OpenPOWER on IntegriCloud