summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
Commit message (Collapse)AuthorAgeFilesLines
* [sanitizer] Implement include_if_exists with process name substitution.Evgeniy Stepanov2015-07-211-0/+1
| | | | | | | | | include_if_exists=/path/to/sanitizer/options reads flags from the file if it is present. "%b" in the include file path (for both variants of the flag) is replaced with the basename of the main executable. llvm-svn: 242853
* [Sanitizer] Add "final" specifier to FlagHandlerBase::Parse overrides. NFC.Alexey Samsonov2015-02-121-1/+1
| | | | llvm-svn: 228893
* [sanitizer] Make unrecognized flags not fatal.Evgeniy Stepanov2015-01-191-0/+2
| | | | | | Print a warning at verbosity=1 and higher instead of dying immediately. llvm-svn: 226458
* [sanitizer] Switch flag parsing to LowLevelAlloc.Evgeniy Stepanov2015-01-191-3/+4
| | | | | | | | | InternalAlloc is quite complex and its behavior may depend on the values of flags. As such, it should not be used while parsing flags. Sadly, LowLevelAlloc does not support deallocation of memory. llvm-svn: 226453
* [sanitizer] Implement include= option.Evgeniy Stepanov2015-01-151-0/+1
| | | | | | Allows loading sanitizer options from file. llvm-svn: 226175
* [sanitizer] Flag parser rewrite.Evgeniy Stepanov2015-01-151-0/+117
The new parser is a lot stricter about syntax, reports unrecognized flags, and will make it easier to implemented some of the planned features. llvm-svn: 226169
OpenPOWER on IntegriCloud