diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-03-21 16:18:21 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-03-21 22:58:52 +0200 |
commit | 3d7915f000b15ad296e3ff18d750f36a4f17de0e (patch) | |
tree | a5abe2dd6e6b8a633130597aa08937fcc92c965b /include | |
parent | 82aeb6b59640b9733c4026bda71887720153b70a (diff) | |
parent | 4629db0dd6442ea7c2d3ecd636060bc4d21f2d19 (diff) | |
download | mariadb-git-3d7915f000b15ad296e3ff18d750f36a4f17de0e.tar.gz |
Merge 10.1 into 10.2
Diffstat (limited to 'include')
-rw-r--r-- | include/my_valgrind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_valgrind.h b/include/my_valgrind.h index 870fb453179..cb0886bda46 100644 --- a/include/my_valgrind.h +++ b/include/my_valgrind.h @@ -35,6 +35,8 @@ # define MEM_CHECK_DEFINED(a,len) VALGRIND_CHECK_MEM_IS_DEFINED(a,len) #elif defined(__SANITIZE_ADDRESS__) # include <sanitizer/asan_interface.h> +/* How to do manual poisoning: +https://github.com/google/sanitizers/wiki/AddressSanitizerManualPoisoning */ # define MEM_UNDEFINED(a,len) ASAN_UNPOISON_MEMORY_REGION(a,len) # define MEM_NOACCESS(a,len) ASAN_POISON_MEMORY_REGION(a,len) # define MEM_CHECK_ADDRESSABLE(a,len) ((void) 0) |