Do not call malloc_zone_from_ptr() for the pointers passed to mz_size() and mz_free().
These callbacks assume that the memory belongs to asan_zone, so it's incorrect to pass it to another one. If a need for this appears (e.g. system libraries free the memory using wrong zone), it should be documented. llvm-svn: 159713
Loading
Please register or sign in to comment