[cfe-dev] clang's handling of --param
Chris Lattner
clattner at apple.com
Mon Jun 7 09:05:11 PDT 2010
On Jun 6, 2010, at 10:24 PM, Nick Lewycky wrote:
> Hi clangers,
>
> The current --param flag in clang doesn't match gcc's at all. In GCC this flag is documented as --param NAME=VALUE where NAME is something like "struct-reorg-cold-struct-ratio". What clang seems to do is under a big FIXME, pass whatever is given to --param to all the subprocesses it executes.
>
> That's not okay.
>
> Why does it work this way? Would anyone object to me removing the flag entirely, or making the driver accept --param then ignore its contents?
I think that accepting the flag and discarding the contents makes a lot of sense.
-Chris
More information about the cfe-dev
mailing list