diff options
author | Kuba Mracek <mracek@apple.com> | 2016-12-11 08:45:36 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2016-12-11 08:45:36 +0000 |
commit | 1c002267fb8323491d58630bfd56e79312190dea (patch) | |
tree | 4a0d03de34e593a69dcef16414598d55b92bc75f /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | |
parent | b93f78128f5e1a282b159dc9e8cea48297698742 (diff) | |
download | bcm5719-llvm-1c002267fb8323491d58630bfd56e79312190dea.tar.gz bcm5719-llvm-1c002267fb8323491d58630bfd56e79312190dea.zip |
[sanitizer] Make sure libmalloc doesn't remove the sanitizer zone from malloc_zones[0]
In certain OS versions, it was possible that libmalloc replaced the sanitizer zone from being the default zone (i.e. being in malloc_zones[0]). This patch introduces a failsafe that makes sure we always stay the default zone. No testcase for this, because this doesn't reproduce under normal circumstances.
Differential Revision: https://reviews.llvm.org/D27083
llvm-svn: 289376
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp')
0 files changed, 0 insertions, 0 deletions