[Asan] Accept __lsan_ignore_object for redzone pointer
authorVitaly Buka <vitalybuka@google.com>
Mon, 14 Sep 2020 23:32:25 +0000 (16:32 -0700)
committerVitaly Buka <vitalybuka@google.com>
Mon, 14 Sep 2020 23:32:32 +0000 (16:32 -0700)
commit1d70984fa220f966ddcecd7906c5f10368fe1b93
tree67b24c7e9551267caac8ce16be31e48c65823a04
parenta36278c2f8b5ba7e964ef2cdc14ef8c3f8b8a045
[Asan] Accept __lsan_ignore_object for redzone pointer

The check that the pointer inside of the user part of the chunk does not
adds any value, but it's the last user of AddrIsInside.

I'd like to simplify AsanChunk in followup patches.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D87642
compiler-rt/lib/asan/asan_allocator.cpp
compiler-rt/test/asan/TestCases/lsan_annotations.cpp