[PATCH] D69546: [SanitizerCommon] Print the current value of options when printing out help.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 1 14:04:48 PDT 2019
delcypher updated this revision to Diff 227530.
delcypher added a comment.
- CurrentValueAsString return code now indicates truncation
- Print "Truncated" if printed current value was truncated.
- Clean up `CurrentValueAsString` implementations.
- Add Support in `FlagHandlerInclude` for showing current value (not quite right but good enough).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69546/new/
https://reviews.llvm.org/D69546
Files:
compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cpp
compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
compiler-rt/lib/sanitizer_common/sanitizer_flags.cpp
compiler-rt/test/sanitizer_common/TestCases/options-help-include-current-value.cpp
compiler-rt/test/sanitizer_common/TestCases/options-help.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69546.227530.patch
Type: text/x-patch
Size: 8092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191101/0a3e04c1/attachment.bin>
More information about the llvm-commits
mailing list