[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

llvm-svn: 290396
This commit is contained in:
Vitaly Buka 2016-12-23 01:08:31 +00:00
parent 50fef4321b
commit 2e97554245
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@
}
#endif
#ifndef COMMON_INTERCEPT_FUNCTION_MEMCPY
#define COMMON_INTERCEPT_FUNCTION_MEMCPY() {}
#endif
struct FileMetadata {
// For open_memstream().
char **addr;