aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-07-28 14:34:13 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-07-28 14:34:13 +0000
commit873855e291978b7cd8d4f762c7555f1730c5de6e (patch)
treee99c68ab949b368ddf844e69beaa55a329410557 /clang/lib/Frontend/CompilerInvocation.cpp
parent918f8ab7c606ed7621924baf29622416e26b2a4c (diff)
downloadllvm-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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions