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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 1 17:01:46 PDT 2022


MaskRay added a comment.
Herald added subscribers: abrachet, StephenFan.
Herald added a project: All.

In D101400#2990254 <https://reviews.llvm.org/D101400#2990254>, @jrtc27 wrote:

> Answering the last part myself: GCC only has MULTIARCH_DIRNAME definitions for various linux-gnu*, linux-musl, linux-uclibc, kfreebsd-gnu and -gnu (as an OS, for GNU/Hurd) targets, everything else prints a blank string here. So either we need to decide what the right behaviour is for other OSes, or we should similarly leave it as undefined for non-GNUish (including musl and uclibc) targets?

Looks like `--print-multiarch` is not used in llvm-project. I created D133170 <https://reviews.llvm.org/D133170> to unsupport the option.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101400/new/

https://reviews.llvm.org/D101400



More information about the cfe-commits mailing list