[scudo] Always exclude Tag 0
authorVitaly Buka <vitalybuka@google.com>
Fri, 28 May 2021 09:08:44 +0000 (02:08 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 4 Jun 2021 17:20:32 +0000 (10:20 -0700)
commitba04c7c128b1214edf8888b129f9e841852a629b
tree47e2ad0f88ecaa40752644cdea2b005ba6c45d89
parent333987b0458926332e9a1f96869ef47da25fa9b1
[scudo] Always exclude Tag 0

prepareTaggedChunk uses Tag 0 for header.

Android already PR_MTE_TAG_MASK to 0xfffe,
but with the patch we will not need to deppend
on the system configuration.

Reviewed By: pcc

Differential Revision: https://reviews.llvm.org/D103134
compiler-rt/lib/scudo/standalone/memtag.h