[scudo] Handle predefined M_MEMTAG_TUNING_* constants (NFC).
authorEvgenii Stepanov <eugenis@google.com>
Tue, 22 Jun 2021 23:40:17 +0000 (16:40 -0700)
committerEvgenii Stepanov <eugenis@google.com>
Wed, 23 Jun 2021 00:39:55 +0000 (17:39 -0700)
commitd693957e58ff498dba7ef1d05c08849693abff35
tree43af9ebeb887a3e10d23de5a678bb0ebc8e35cd3
parentc9aaf34b8db884faa3d3ced4d2fb88fd45697408
[scudo] Handle predefined M_MEMTAG_TUNING_* constants (NFC).

Bionic <malloc.h> may provide the definitions of M_MEMTAG_TUNING_* constants.
Do not redefine them in that case.

Differential Revision: https://reviews.llvm.org/D104758
compiler-rt/lib/scudo/standalone/include/scudo/interface.h