[TSan] Fix -Wempty-body warning

llvm-svn: 190993
This commit is contained in:
Alexey Samsonov 2013-09-19 07:59:18 +00:00
parent 2a8fcee302
commit 1c5cd7516f
1 changed files with 8 additions and 4 deletions

View File

@ -1843,10 +1843,14 @@ struct TsanInterceptorContext {
#include "sanitizer_common/sanitizer_common_interceptors.inc"
// FIXME: Implement these with MemoryAccessRange().
#define COMMON_SYSCALL_PRE_READ_RANGE(p, s)
#define COMMON_SYSCALL_PRE_WRITE_RANGE(p, s)
#define COMMON_SYSCALL_POST_READ_RANGE(p, s)
#define COMMON_SYSCALL_POST_WRITE_RANGE(p, s)
#define COMMON_SYSCALL_PRE_READ_RANGE(p, s) \
do { } while (false)
#define COMMON_SYSCALL_PRE_WRITE_RANGE(p, s) \
do { } while (false)
#define COMMON_SYSCALL_POST_READ_RANGE(p, s) \
do { } while (false)
#define COMMON_SYSCALL_POST_WRITE_RANGE(p, s) \
do { } while (false)
#include "sanitizer_common/sanitizer_common_syscalls.inc"
namespace __tsan {