diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-01-23 19:29:12 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-01-23 20:34:05 +0200 |
commit | 8637931f118b53ff6fdadf6006ccdb8dedd6f732 (patch) | |
tree | 03eb479da4266f58cccac624597303c15ee2473c /scripts | |
parent | 70a9b12de90d25d9348c87a71c742fecbdb07c2f (diff) | |
download | mariadb-git-8637931f118b53ff6fdadf6006ccdb8dedd6f732.tar.gz |
Add ASAN instrumentation (and more strict Valgrind) to InnoDB
mem_heap_free_heap_top(): Remove UNIV_MEM_ASSERT_W() and unpoison
the memory region first, because part of it may have been poisoned
by an earlier mem_heap_free_top() call.
Poison the address range at the end.
mem_heap_block_free(): Poison the address range at the end.
UNIV_MEM_ASSERT_AND_ALLOC(): Replace with UNIV_MEM_ALLOC().
We want to keep the address ranges poisoned (unaccessible) as
long as possible.
UNIV_MEM_ASSERT_AND_FREE(): Replace with UNIV_MEM_FREE().
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions