[compiler-rt] add SANITIZER_OSX
authorEmily Shi <code@emi.sh>
Fri, 9 Apr 2021 00:49:22 +0000 (17:49 -0700)
committerEmily Shi <code@emi.sh>
Mon, 12 Apr 2021 18:45:45 +0000 (11:45 -0700)
commit20f38d01420e5091c076e99be6b9c5ce5aaef064
treedc0123ae3e37405309f87ac35d0dc567c246a6e8
parent9cc417cbca1cece0d55fa3d1e15682943a06139e
[compiler-rt] add SANITIZER_OSX

This will allow us to make osx specific changes easier. Because apple silicon macs also run on aarch64, it was easy to confuse it with iOS.

rdar://75302812

Reviewed By: yln

Differential Revision: https://reviews.llvm.org/D100157
compiler-rt/lib/sanitizer_common/sanitizer_platform.h