diff options
author | Kuba Mracek <mracek@apple.com> | 2016-12-11 08:42:42 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2016-12-11 08:42:42 +0000 |
commit | b93f78128f5e1a282b159dc9e8cea48297698742 (patch) | |
tree | 8e405ab75ca862c2d94c82635ad8e06a97b6f0c9 /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | |
parent | 7a230f422508ff974982b4d50175395060daf2e3 (diff) | |
download | bcm5719-llvm-b93f78128f5e1a282b159dc9e8cea48297698742.tar.gz bcm5719-llvm-b93f78128f5e1a282b159dc9e8cea48297698742.zip |
[sanitizer] Handle malloc_destroy_zone() on Darwin
We currently have a interceptor for malloc_create_zone, which returns a new zone that redirects all the zone requests to our sanitizer zone. However, calling malloc_destroy_zone on that zone will cause libmalloc to print out some warning messages, because the zone is not registered in the list of zones. This patch handles this and adds a testcase for that.
Differential Revision: https://reviews.llvm.org/D27083
llvm-svn: 289375
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp')
0 files changed, 0 insertions, 0 deletions