[PATCH] D46693: lld-link: Add --color-diagnostics(={always, never, auto})?, --no-color-diagnostics flags.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 07:37:07 PDT 2018


thakis created this revision.
thakis added a reviewer: ruiu.
Herald added subscribers: sunfish, aheejin, arichardson, sbc100, emaste.
Herald added a reviewer: espindola.

This is most useful when using lld-link on a non-Win host (but it might become useful on Windows too if lld also grows a fansi-escape-codes flag).

Also make the help for --color-diagnostic mention the valid values in ELF and wasm, and print the flag name with two dashes in diags, since the one-dash form is seen as a list of many one-letter flags in some contexts.


https://reviews.llvm.org/D46693

Files:
  lld/COFF/DriverUtils.cpp
  lld/COFF/Options.td
  lld/ELF/DriverUtils.cpp
  lld/ELF/Options.td
  lld/test/COFF/color-diagnostics.test
  lld/wasm/Driver.cpp
  lld/wasm/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46693.146125.patch
Type: text/x-patch
Size: 5482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180510/922fd39c/attachment.bin>


More information about the llvm-commits mailing list