[scudo][standalone] Support __BIONIC__
authorKostya Kortchinsky <kostyak@google.com>
Fri, 20 Dec 2019 16:23:57 +0000 (08:23 -0800)
committerKostya Kortchinsky <kostyak@google.com>
Fri, 20 Dec 2019 20:59:33 +0000 (12:59 -0800)
commit0fd6f19025a79e331bdbaf35541a2e90a95faa71
tree44781f7e39614fce0b64526cdacbef6bc7b94c22
parentdc03b960d0236c18ed4382cea7bb3eb49329ed04
[scudo][standalone] Support __BIONIC__

Summary:
Some Android builds that we are interested in define `__BIONIC__`
but not `__ANDROID__`, so expand `SCUDO_ANDROID` to encompass those.

Reviewers: cferris, hctim, pcc, eugenis, morehouse

Subscribers: krytarowski, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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