[LLVMdev] More questions on CompilerDriver.

Sanjiv Gupta sanjiv.gupta at microchip.com
Mon Dec 7 19:41:28 PST 2009


Mikhail Glushenkov wrote:
>
> > 2. Is there anyway to call a C++ hook from inside actions?
> > for example
> > (actions (case
> >         (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" )))
>
> Not yet, this is something I'm working on right now.
>
Hi Mikhail,
Did you get a chance to do something about this?
>
>
> BTW, I've implemented the OptionPreprocessor feature that we discussed
> some time ago. See the documentation for details.
>
is it a good idea to include something called "set_option"? For example 
if none of O0, O1, O2 or O3 are specified on the command line, We can 
just make O2 as default by using the set_option.

- Sanjiv

> --
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments
>




More information about the llvm-dev mailing list