[PATCH] D28072: [compiler-rt] Define COMMON_INTERCEPT_FUNCTION_MEMCPY for tsan and esan

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 17:18:08 PST 2016


vitalybuka updated this revision to Diff 82388.
vitalybuka added a comment.

Added empty default


https://reviews.llvm.org/D28072

Files:
  lib/sanitizer_common/sanitizer_common_interceptors.inc


Index: lib/sanitizer_common/sanitizer_common_interceptors.inc
===================================================================
--- lib/sanitizer_common/sanitizer_common_interceptors.inc
+++ lib/sanitizer_common/sanitizer_common_interceptors.inc
@@ -212,6 +212,10 @@
   }
 #endif
 
+#ifndef COMMON_INTERCEPT_FUNCTION_MEMCPY
+#define COMMON_INTERCEPT_FUNCTION_MEMCPY() {}
+#endif
+
 struct FileMetadata {
   // For open_memstream().
   char **addr;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28072.82388.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161223/01bb3a9b/attachment.bin>


More information about the llvm-commits mailing list