summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2016-12-11 08:42:42 +0000
committerKuba Mracek <mracek@apple.com>2016-12-11 08:42:42 +0000
commitb93f78128f5e1a282b159dc9e8cea48297698742 (patch)
tree8e405ab75ca862c2d94c82635ad8e06a97b6f0c9 /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
parent7a230f422508ff974982b4d50175395060daf2e3 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud