[sanitizer] Make unrecognized flags not fatal.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 19 Jan 2015 12:22:57 +0000 (12:22 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 19 Jan 2015 12:22:57 +0000 (12:22 +0000)
commita2edd9159a991b07d180969dbb08812c679ad5b0
tree3f8ea3587f2542a35d1e2cb2087921b111946cc6
parentf8753fc48da54f28c2fbc1d143b41461646f693f
[sanitizer] Make unrecognized flags not fatal.

Print a warning at verbosity=1 and higher instead of dying immediately.

llvm-svn: 226458
compiler-rt/lib/asan/asan_flags.cc
compiler-rt/lib/lsan/lsan_common.cc
compiler-rt/lib/msan/msan.cc
compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cc
compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
compiler-rt/lib/sanitizer_common/tests/sanitizer_flags_test.cc
compiler-rt/lib/tsan/rtl/tsan_flags.cc
compiler-rt/test/sanitizer_common/TestCases/options-invalid.cc