summaryrefslogtreecommitdiff
path: root/lib/interception
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-08-08 01:01:59 +0000
committerVitaly Buka <vitalybuka@google.com>2017-08-08 01:01:59 +0000
commitb07ae8ba81c69f8b1ad896536585c66295fde4f3 (patch)
treeb96eb0e2fb07a766e3f6d54ff0059e2bb3850592 /lib/interception
parent0f9a6a534e6e1d44676a06c37061522a75edab38 (diff)
[asan] Restore dead-code-elimination optimization for Fuchsia
Summary: r310244 fixed a bug introduced by r309914 for non-Fuchsia builds. In doing so it also reversed the intended effect of the change for Fuchsia builds, which was to allow all the AllocateFromLocalPool code and its variables to be optimized away entirely. This change restores that optimization for Fuchsia builds, but doesn't have the original change's bug because the comparison arithmetic now takes into account the size of the elements. Submitted on behalf of Roland McGrath. Reviewers: vitalybuka, alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits, kubamracek Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D36430 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@310330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/interception')
0 files changed, 0 insertions, 0 deletions