diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-01 18:35:40 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-01 18:35:40 +0000 |
commit | 52f12f63f4ecaab157c9a056f6185746d87cd6e3 (patch) | |
tree | 87b217fbfa4a27372c511ea4eb8bd3151f41946a /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 172838df6bc9c7754b030776428f875b57d70ed2 (diff) | |
download | bcm5719-llvm-52f12f63f4ecaab157c9a056f6185746d87cd6e3.tar.gz bcm5719-llvm-52f12f63f4ecaab157c9a056f6185746d87cd6e3.zip |
Fix `skipIfSanitized` decorator on macOS
For security reasons, DYLD_INSERT_LIBRARIES is not propagated to a child
process. This breaks the skipIfSanitized decorator, which checks for the
environment variable being set. Instead, always set the ASAN_OPTIONS and
make the decorator check for that.
Differential revision: https://reviews.llvm.org/D65594
llvm-svn: 367595
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions