diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-07-28 14:34:13 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-07-28 14:34:13 +0000 |
commit | 873855e291978b7cd8d4f762c7555f1730c5de6e (patch) | |
tree | e99c68ab949b368ddf844e69beaa55a329410557 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 918f8ab7c606ed7621924baf29622416e26b2a4c (diff) | |
download | llvm-873855e291978b7cd8d4f762c7555f1730c5de6e.zip llvm-873855e291978b7cd8d4f762c7555f1730c5de6e.tar.gz llvm-873855e291978b7cd8d4f762c7555f1730c5de6e.tar.bz2 |
[asan] Set abort_on_error=1 by default on OS X
This sets the default ASan flags to abort_on_error=1 on OS X. For unit tests and lit tests we set ASAN_OPTIONS back to abort_on_error=0 before running the tests (to avoid crashing). I added two tests that intentionally don't respect the default ASAN_OPTIONS to test the behavior of an empty ASAN_OPTIONS (on OS X we should crash, on Linux we should exit()).
Differential Revision: http://reviews.llvm.org/D7203
llvm-svn: 243418
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions