[PATCH] D91640: lld: Add --color-diagnostic to MachO port, harmonize others

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 09:26:07 PST 2020


thakis created this revision.
thakis added a reviewer: hans.
Herald added subscribers: dang, kristof.beyls, arichardson, sbc100, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: MaskRay.
thakis requested review of this revision.
Herald added a subscriber: aheejin.

This adds `--[no-]color-diagnostics[=auto,never,always]` to
the MachO port and harmonizes the flag in the other ports:

- Consistently use MetaVarName
- Consistently document the non-eq version as alias of the eq version
- Use B<> in the ports that have it (no-op, shorter)
- Fix oversight in COFF port that made the --no flag have the wrong prefix


https://reviews.llvm.org/D91640

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91640.305829.patch
Type: text/x-patch
Size: 7452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201117/ff4ba1b5/attachment-0001.bin>


More information about the llvm-commits mailing list