[compiler-rt] r193635 - [asan] Fix build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue Oct 29 11:29:39 PDT 2013
Author: eugenis
Date: Tue Oct 29 13:29:39 2013
New Revision: 193635
URL: http://llvm.org/viewvc/llvm-project?rev=193635&view=rev
Log:
[asan] Fix build.
Modified:
compiler-rt/trunk/lib/asan/asan_interceptors.cc
Modified: compiler-rt/trunk/lib/asan/asan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors.cc?rev=193635&r1=193634&r2=193635&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors.cc Tue Oct 29 13:29:39 2013
@@ -140,13 +140,13 @@ DECLARE_REAL_AND_INTERCEPTOR(void, free,
#define COMMON_SYSCALL_PRE_WRITE_RANGE(p, s) ASAN_WRITE_RANGE(p, s)
#define COMMON_SYSCALL_POST_READ_RANGE(p, s) \
do { \
- (void)p; \
- (void)s; \
+ (void)(p); \
+ (void)(s); \
} while (false)
#define COMMON_SYSCALL_POST_WRITE_RANGE(p, s) \
do { \
- (void)p; \
- (void)s; \
+ (void)(p); \
+ (void)(s); \
} while (false)
#include "sanitizer_common/sanitizer_common_syscalls.inc"
More information about the llvm-commits
mailing list