This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LTO][PATCH] Add lang-hooks for LTO operation modes.


On Thu, Sep 18, 2008 at 10:54 AM, Doug Kwan (關振紱) <dougkwan@google.com> wrote:
>
> We already have lang-hook for handling command line options. May be we
> can use the existing one to handle the options, if we want to avoid
> adding a new hook.

That's the lto_handle_option function.  It gets called before the
command option handler and can short-circuit it by returning 0.  It
should do nicely.

Ollie


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]