[compiler-rt] r290396 - [compiler-rt] Define COMMON_INTERCEPT_FUNCTION_MEMCPY for tsan and esan

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


Author: vitalybuka
Date: Thu Dec 22 19:08:31 2016
New Revision: 290396

URL: http://llvm.org/viewvc/llvm-project?rev=290396&view=rev
Log:
[compiler-rt] Define COMMON_INTERCEPT_FUNCTION_MEMCPY for tsan and esan

Reviewers: eugenis

Subscribers: kubabrecka, dberris, llvm-commits

Differential Revision: https://reviews.llvm.org/D28072

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=290396&r1=290395&r2=290396&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Thu Dec 22 19:08:31 2016
@@ -212,6 +212,10 @@
   }
 #endif
 
+#ifndef COMMON_INTERCEPT_FUNCTION_MEMCPY
+#define COMMON_INTERCEPT_FUNCTION_MEMCPY() {}
+#endif
+
 struct FileMetadata {
   // For open_memstream().
   char **addr;




More information about the llvm-commits mailing list