[PATCH] D134337: [clang] [Driver] More flexible rules for loading default configs
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 30 10:07:16 PDT 2022
MaskRay added a comment.
In D134337#3827522 <https://reviews.llvm.org/D134337#3827522>, @nickdesaulniers wrote:
> In D134337#3824862 <https://reviews.llvm.org/D134337#3824862>, @MaskRay wrote:
>
>> It's unclear Clang wants to support GCC style specs file and whether GCC wants to adopt another system beside its specs.
>> I lean toward there isn't much cooperation as we might think.
>
> Perhaps there ought to be?
rust use very different compiler options from Clang/GCC, so it's clear what benefits a unified format can bring, if we consider that more established compilers want to prefer internal consistency and avoid introducing duplicate mechanism.
GCC uses specs files. There may be some obstacles introducing a new mechanism.
Clang Driver doesn't support specs files. We pick configuration files for now whose format isn't different from the traditional response files.
If anything, rust can make a decision to support Clang style configuration files.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134337/new/
https://reviews.llvm.org/D134337
More information about the cfe-commits
mailing list