[all-commits] [llvm/llvm-project] 660411: Let clang print registered targets for --version

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon May 4 09:27:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 66041187c9028f730c41597fe5ea6a63fda1ccad
      https://github.com/llvm/llvm-project/commit/66041187c9028f730c41597fe5ea6a63fda1ccad
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2020-05-04 (Mon, 04 May 2020)

  Changed paths:
    M clang/lib/Driver/Driver.cpp

  Log Message:
  -----------
  Let clang print registered targets for --version

We need a way to know supported targets by clang since
people may use clang as assembler and they want to
choose the clang which supports their target.

This patch let clang print registered targets when
--version option is passed to clang.

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




More information about the All-commits mailing list