[compiler-rt][Darwin] Disable EXC_GUARD exceptions
authorJulian Lettner <julian.lettner@apple.com>
Wed, 29 Jul 2020 16:55:52 +0000 (09:55 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Wed, 29 Jul 2020 18:21:25 +0000 (11:21 -0700)
commit7e946d0c8289ff8cafcae88595b805ec511db6b4
treee1d1fd117c5fb777fe146565b457c45a058ac71c
parentc114352edfe0de69050bbf1cbbc478bcfb524622
[compiler-rt][Darwin] Disable EXC_GUARD exceptions

ASan/TSan use mmap in a way that creates “deallocation gaps” which
triggers EXC_GUARD exceptions on macOS 10.15+ (XNU 19.0+).  Let's
suppress those.
compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp