[PATCH] D17566: *_OPTIONS="help=1" should print to stdout and fit 80 chars width

Martin Liška via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 02:54:29 PST 2016


marxin created this revision.
marxin added a subscriber: llvm-commits.

I would like to modify printing of help options in order to fix:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69840

I basically split all *_flags.inc options with new lines. Eventually, these
string are printed to limit the output to 80 characters:
https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html

http://reviews.llvm.org/D17566

Files:
  lib/asan/asan_flags.inc
  lib/dfsan/dfsan_flags.inc
  lib/lsan/lsan_flags.inc
  lib/sanitizer_common/sanitizer_common.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_flag_parser.cc
  lib/sanitizer_common/sanitizer_flags.inc
  lib/tsan/rtl/tsan_flags.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17566.48902.patch
Type: text/x-patch
Size: 30406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160224/a1901e24/attachment-0001.bin>


More information about the llvm-commits mailing list