[all-commits] [llvm/llvm-project] baa2aa: lld: Add --color-diagnostic to MachO port, harmoni...

Nico Weber via All-commits all-commits at lists.llvm.org
Tue Nov 17 09:58:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: baa2aa28f56259de7fa012178ada9e5ba07ec76c
      https://github.com/llvm/llvm-project/commit/baa2aa28f56259de7fa012178ada9e5ba07ec76c
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M lld/COFF/Options.td
    M lld/ELF/Options.td
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    A lld/test/MachO/color-diagnostics.test
    M lld/wasm/Options.td

  Log Message:
  -----------
  lld: Add --color-diagnostic to MachO port, harmonize others

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

Differential Revision: https://reviews.llvm.org/D91640




More information about the All-commits mailing list