search for: not_empty

Displaying 8 results from an estimated 8 matches for "not_empty".

Did you mean: ldt_empty
2009 Nov 19
3
[LLVMdev] More questions on CompilerDriver.
...has a -p <device_name> option. Now from this device_name I want to be able to construct a file name like "device_name.o" and pass that to the linker. Unpack_values "p" gives me the device_name, but I do not know how to add ".o" suffix to it. something like: (not_empty "p"), [ (unpack_values "p"), (append_cmd ".o")] 2. Is there anyway to call a C++ hook from inside actions? for example (actions (case (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) Thanks in advance. - Sanjiv
2009 Nov 19
0
[LLVMdev] More questions on CompilerDriver.
...gt; option. Now from this device_name I > want to be able to construct a file name like "device_name.o" and pass that > to the linker. Unpack_values "p" gives me the device_name, but I do not know > how to add ".o" suffix to it. > > something like: > (not_empty "p"), [ (unpack_values "p"), (append_cmd ".o")] If the set of device_names is not large, you can work around this for now by creating a separate linker tool for each device_name (should be easy with inheritance) and then using OptionalEdges to choose the right "l...
2009 Dec 08
2
[LLVMdev] More questions on CompilerDriver.
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 a...
2009 Sep 11
1
[LLVMdev] tblgen bug in handling case , switch_on
Mikhail Glushenkov wrote: > Hi, > > On Thu, Sep 10, 2009 at 8:01 PM, Sanjiv Gupta > <sanjiv.gupta at microchip.com> wrote: > >> Why do we need both 'conflict' and 'warning' ? >> > > 'warning' just prints a warning, 'conflict' is a fatal error. > > A better example would be something like: > > (warning (and
2009 Sep 11
0
[LLVMdev] tblgen bug in handling case , switch_on
...;) > with that will insert a space. This won't work since actions are not composable (alas). > Anything like append_cmd_nospace ? or any other way? I'm afraid there is no way to do this right now. One way to support this is to extend the hook mechanism to work with actions: (case (not_empty "-l"), (append_cmd "$CALL(AppendLibSuffix)")) -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
2009 Dec 08
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv, On Tue, Dec 8, 2009 at 4:41 AM, Sanjiv Gupta <sanjiv.gupta at microchip.com> wrote: > 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? Sorry for the delay, will be ready Real Soon Now. I've implemented 'forward...
2009 Sep 13
1
[LLVMdev] tblgen bug in handling case , switch_on
...t work since actions are not composable (alas). > > >> Anything like append_cmd_nospace ? or any other way? >> > > I'm afraid there is no way to do this right now. One way to support > this is to extend the hook mechanism to work with actions: > > (case (not_empty "-l"), (append_cmd "$CALL(AppendLibSuffix)")) > > Thanks for thinking over it. On second thoughts, I feel that it isn't right to ask for a feature for every such thing. The right way to do this is to fix one's linker itself so that it accepts a -l option as su...
2009 Sep 10
4
[LLVMdev] tblgen bug in handling case , switch_on
Mikhail Glushenkov wrote: > Hi Sanjiv, > > On Sun, Sep 6, 2009 at 8:13 PM, Mikhail > Glushenkov<the.dead.shall.rise at gmail.com> wrote: > >> Hi Sanjiv, >> >> On Sun, Sep 6, 2009 at 8:07 PM, Mikhail >> Glushenkov<the.dead.shall.rise at gmail.com> wrote: >> >>> [...] >>> >> [Sorry, the formatting was a