forked from OSchip/llvm-project
asan: correct non-temporal prefetch for memory allocator
llvm-svn: 172522
This commit is contained in:
parent
45a698eb58
commit
2854326db6
|
@ -52,7 +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)
|
||||
# define PREFETCH(x) __asm__("prefetchnta (%0)" : : "r" (x))
|
||||
#endif // _MSC_VER
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
|
Loading…
Reference in New Issue