[all-commits] [llvm/llvm-project] a921d2: [Driver] Add -print-multiarch

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Apr 27 16:05:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a921d2d2fb46b898794091e7410426c518a4f0cc
      https://github.com/llvm/llvm-project/commit/a921d2d2fb46b898794091e7410426c518a4f0cc
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Fuchsia.h
    M clang/lib/Driver/ToolChains/Linux.h
    A clang/test/Driver/print-multiarch.c

  Log Message:
  -----------
  [Driver] Add -print-multiarch

This is useful in runtimes build for example which currently try to
guess the correct triple where to place libraries in the multiarch
layout.  Using this flag, the build system can get the correct triple
directly by querying Clang.

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




More information about the All-commits mailing list