[PATCH] D93668: [clang] Override the Fuchsia platform ABI using the triple environment

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 20 11:21:05 PST 2021


phosek added a comment.

In D93668#2510463 <https://reviews.llvm.org/D93668#2510463>, @leonardchan wrote:

> Also, this probably isn't very important, but just as a heads up: if we were to depend on the environment component in the triple as the flag for selecting which multilib to use, then the multilib would be stored in a directory containing that environment.
>
> So assuming we would check for the flag `-target x86_64-fuchsia-gnu` the multilib path would be something like:
>
>   ${BUILD_DIR}/bin/../lib/x86_64-fuchsia-gnu/c++/compat+noexcept/
>
> rather than
>
>   ${BUILD_DIR}/bin/../lib/x86_64-fuchsia/c++/compat+noexcept/

I don't think we would use `compat` multilib in that case, instead we would simply use multiarch since these are now distinct targets. That is we would use just `${BUILD_DIR}/bin/../lib/x86_64-fuchsia-gnu/c++`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93668



More information about the cfe-commits mailing list