[compiler-rt] r290629 - [compiler-rt] Fix compilation error after r290626
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 27 13:30:21 PST 2016
Author: vitalybuka
Date: Tue Dec 27 15:30:20 2016
New Revision: 290629
URL: http://llvm.org/viewvc/llvm-project?rev=290629&view=rev
Log:
[compiler-rt] Fix compilation error after r290626
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=290629&r1=290628&r2=290629&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Tue Dec 27 15:30:20 2016
@@ -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
More information about the llvm-commits
mailing list