[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
Tue Nov 5 14:29:16 PST 2019


delcypher updated this revision to Diff 227965.
delcypher added a comment.

- Rename `CurrentValueAsString` to `Format`.
- Implement support for `FlagHandlerKeepGoing`.
- Use Mmap to allocate memory for string representation of option value.
- Switch to using `internal_strlcpy` instead of `internal_strncpy`.
- Remove separate test for include_if_exists


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69546/new/

https://reviews.llvm.org/D69546

Files:
  compiler-rt/lib/msan/msan.cpp
  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.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69546.227965.patch
Type: text/x-patch
Size: 7731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191105/0de6bc51/attachment.bin>


More information about the llvm-commits mailing list