asan: add memory prefetch to quarantine recycle

llvm-svn: 172216
This commit is contained in:
Dmitry Vyukov 2013-01-11 16:40:24 +00:00
parent 7c6c943782
commit 86585ad319
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ using namespace __sanitizer; // NOLINT
# define UNLIKELY(x) (x)
# define UNUSED
# define USED
# define PREFETCH(x) /* _mm_prefetch(x, _MM_HINT_NTA) */
#else // _MSC_VER
# define ALWAYS_INLINE __attribute__((always_inline))
# define ALIAS(x) __attribute__((alias(x)))
@ -51,6 +52,7 @@ using namespace __sanitizer; // NOLINT
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
# define UNUSED __attribute__((unused))
# define USED __attribute__((used))
# define PREFETCH(x) __builtin_prefetch(x)
#endif // _MSC_VER
#if defined(_WIN32)