]> granicus.if.org Git - clang/commit
[Sanitizer] Parse and produce all sanitizer-relevant arguments in SanitizerArgs.
authorAlexey Samsonov <vonosmas@gmail.com>
Sun, 16 Nov 2014 20:53:53 +0000 (20:53 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Sun, 16 Nov 2014 20:53:53 +0000 (20:53 +0000)
commited7b4fa2b6932aefbfdf6a635aa9c85e03fa82a6
tree85297d2c1a8a64a435d4d53f2968ec9b71569fa0
parent65d8b4c4998b3a0c20934ea72ede72ef4838a004
[Sanitizer] Parse and produce all sanitizer-relevant arguments in SanitizerArgs.

In particular, make SanitizerArgs responsible for parsing
and passing down to frontend -fsanitize-recover and
-fsanitize-undefined-trap-on-error flags.

Simplify parsing -f(no-)sanitize= flags parsing: get rid of
too complex filterUnsupportedKinds function.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222105 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/SanitizerArgs.h
lib/Driver/SanitizerArgs.cpp
lib/Driver/Tools.cpp
test/Driver/fsanitize.c