Displaying 4 results from an estimated 4 matches for "append_cmd_nospace".
2009 Sep 11
1
[LLVMdev] tblgen bug in handling case , switch_on
...gt;
Looks good.
One more quick query.
How to extract libname from "-l std" from the driver and pass it as
"std.lib" to the linker tool?
I know that unpack_values will give me "std", but an (append_cmd ".lib")
with that will insert a space.
Anything like append_cmd_nospace ? or any other way?
- Sanjiv
- Sanjiv
2009 Sep 11
0
[LLVMdev] tblgen bug in handling case , switch_on
...d" from the driver and pass it as
> "std.lib" to the linker tool?
> I know that unpack_values will give me "std", but an (append_cmd ".lib")
> 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.as...
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
2009 Sep 13
1
[LLVMdev] tblgen bug in handling case , switch_on
...ot;std.lib" to the linker tool?
>> I know that unpack_values will give me "std", but an (append_cmd ".lib")
>> 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)"))
>
>
Thanks for th...