[PATCH] D111207: Driver: Add a gcc equivalent triple to the list of triples to search

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 6 09:30:15 PDT 2021


MaskRay added a comment.

I think we should reduce normalization for include/library path detection in the clang driver (D110663 <https://reviews.llvm.org/D110663>), instead of adding more customization for each platform.
Some clang driver code uses os and environment to check feature compatibility with a target triple. Due to the limitation of `llvm::Triple::Triple` (os/environ is wrong if un-normalized), such code can keep using the normalized triple.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111207



More information about the cfe-commits mailing list