[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:19:01 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL290396: [compiler-rt] Define COMMON_INTERCEPT_FUNCTION_MEMCPY for tsan and esan (authored by vitalybuka).

Changed prior to commit:
  https://reviews.llvm.org/D28072?vs=82388&id=82389#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28072

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
+++ compiler-rt/trunk/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.82389.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161223/ca3af33f/attachment.bin>


More information about the llvm-commits mailing list