[PATCH] Call __asan_free_hook() before marking the chunk quarantinned
Kostya Serebryany
kcc at google.com
Tue Jun 4 03:55:00 PDT 2013
LGTM with a test nit
================
Comment at: lib/asan/lit_tests/malloc_hook_ownership.cc:24
@@ +23,3 @@
+ volatile int *x = new int;
+ // CHECK: MallocHook
+ *x = 0;
----------------
I'd check that the hooks get the correct pointer
CHECK: MallocHook [[ADDR]]
http://llvm-reviews.chandlerc.com/D913
BRANCH
svn
ARCANIST PROJECT
compiler-rt
More information about the llvm-commits
mailing list