[patch] Forward all -f* options to -cc1

Chandler Carruth chandlerc at google.com
Sat Sep 28 09:55:20 PDT 2013


On Sat, Sep 28, 2013 at 11:40 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > I really disagree with the direction of this patch.
> >
> > Currently we have succeeded at factoring all of the GCC '-f'
> flag-spelling
> > compatibility into the driver, and keeping it out of the frontend. I
> would
> > personally rather keep it that way, and have a much more constrained and
> > justified command line flag interface at the CC1 boundary. I find this
> > separation of concerns extremely useful.
>
> If the -cc1 option handling can be made *really* simple, I would be ok
> with it. By really simple I mean something like "all boolean options
> default to false, the driver just passes a list of flags to enable".


Busy in committee at the moment, so not likely to get to a proper review,
but just for the record I really like the separation of concerns even if
the handling is simple.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130928/e5daf7b2/attachment.html>


More information about the cfe-commits mailing list