[PATCH] D111367: [Driver] Change -dumpmachine to respect --target/LLVM_DEFAULT_TARGET_TRIPLE verbatim

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 7 18:00:37 PDT 2021


MaskRay added a comment.

In D111367#3049700 <https://reviews.llvm.org/D111367#3049700>, @hvdijk wrote:

> Does Red Hat actually use `x86_64-redhat-linux` with LLVM (other than for finding the GCC installation)? I didn't see this on Fedora, I think they use the config.guess-determined target name, and I think that's the right thing for them to do. That only affects whether you've got a realistic testcase though, the main change makes sense to me.

Thanks.

According to https://reviews.llvm.org/D110900#3041312 Red Hat GCC uses `x86_64-redhat-linux`.
I don't know what its Clang currently does.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111367



More information about the cfe-commits mailing list