[compiler-rt] r208677 - [sanitizer] Fix windows build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue May 13 01:47:41 PDT 2014
Author: eugenis
Date: Tue May 13 03:47:40 2014
New Revision: 208677
URL: http://llvm.org/viewvc/llvm-project?rev=208677&view=rev
Log:
[sanitizer] Fix windows build.
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=208677&r1=208676&r2=208677&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Tue May 13 03:47:40 2014
@@ -95,6 +95,7 @@ typedef AddrHashMap<CommonInterceptorMet
static MetadataHashMap *interceptor_metadata_map;
+#if SI_NOT_WINDOWS
static void SetInterceptorMetadata(__sanitizer_FILE *addr,
const FileMetadata &file) {
MetadataHashMap::Handle h(interceptor_metadata_map, (uptr)addr);
@@ -120,6 +121,7 @@ static void DeleteInterceptorMetadata(vo
MetadataHashMap::Handle h(interceptor_metadata_map, (uptr)addr, true);
CHECK(h.exists());
}
+#endif // SI_NOT_WINDOWS
#if SANITIZER_INTERCEPT_TEXTDOMAIN
INTERCEPTOR(char*, textdomain, const char *domainname) {
More information about the llvm-commits
mailing list