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 /clang/test/CodeGen/code-coverage.c | |
| parent | 918f8ab7c606ed7621924baf29622416e26b2a4c (diff) | |
| download | bcm5719-llvm-873855e291978b7cd8d4f762c7555f1730c5de6e.tar.gz bcm5719-llvm-873855e291978b7cd8d4f762c7555f1730c5de6e.zip | |
[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 'clang/test/CodeGen/code-coverage.c')
0 files changed, 0 insertions, 0 deletions

