[PATCH] D101400: [Driver] Add -print-multiarch-triple

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 27 14:30:12 PDT 2021


phosek created this revision.
phosek added reviewers: rnk, MaskRay.
Herald added a subscriber: dang.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101400

Files:
  clang/include/clang/Driver/Options.td
  clang/include/clang/Driver/ToolChain.h
  clang/lib/Driver/Driver.cpp
  clang/lib/Driver/ToolChains/Fuchsia.h
  clang/lib/Driver/ToolChains/Linux.h
  clang/test/Driver/immediate-options.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101400.340987.patch
Type: text/x-patch
Size: 5187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210427/18c409c6/attachment.bin>


More information about the cfe-commits mailing list