Displaying 8 results from an estimated 8 matches for "getcommentstr".
2013 May 06
3
[LLVMdev] #APP/#NOAPP
...CAsm in order to
>> change the inline_asm_start/end
>> strings. (In AsmPrinter) on a per function basis.
>>
>> if (OutStreamer.hasRawTextSupport() &&
>> MAI->getInlineAsmStart()[0])
>> OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
>> MAI->getInlineAsmStart());
>>
>> So a simple method in AsmPrinter would be the easiest for people to
>> use.
>>
>> It just turns off the APP/NOAPP markers which we should be able to do
>> anyway; it's independen...
2013 May 06
0
[LLVMdev] #APP/#NOAPP
...;> change the inline_asm_start/end
>>> strings. (In AsmPrinter) on a per function basis.
>>>
>>> if (OutStreamer.hasRawTextSupport() &&
>>> MAI->getInlineAsmStart()[0])
>>> OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
>>> MAI->getInlineAsmStart());
>>>
>>> So a simple method in AsmPrinter would be the easiest for people to
>>> use.
>>>
>>> It just turns off the APP/NOAPP markers which we should be able to do
>>>...
2013 May 06
4
[LLVMdev] #APP/#NOAPP
...arder
for people to use since they have to get a hook to MCAsm in order to
change the inline_asm_start/end
strings. (In AsmPrinter) on a per function basis.
if (OutStreamer.hasRawTextSupport() && MAI->getInlineAsmStart()[0])
OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
MAI->getInlineAsmStart());
So a simple method in AsmPrinter would be the easiest for people to use.
It just turns off the APP/NOAPP markers which we should be able to do
anyway; it's independent of the discussion regarding the goodness or not
of the com...
2013 May 07
2
[LLVMdev] #APP/#NOAPP
..._asm_start/end
>>>> strings. (In AsmPrinter) on a per function basis.
>>>>
>>>> if (OutStreamer.hasRawTextSupport() &&
>>>> MAI->getInlineAsmStart()[0])
>>>> OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
>>>> MAI->getInlineAsmStart());
>>>>
>>>> So a simple method in AsmPrinter would be the easiest for people to
>>>> use.
>>>>
>>>> It just turns off the APP/NOAPP markers which we should b...
2013 May 06
0
[LLVMdev] #APP/#NOAPP
...ey have to get a hook to MCAsm in order to
> change the inline_asm_start/end
> strings. (In AsmPrinter) on a per function basis.
>
> if (OutStreamer.hasRawTextSupport() &&
> MAI->getInlineAsmStart()[0])
> OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
> MAI->getInlineAsmStart());
>
> So a simple method in AsmPrinter would be the easiest for people to
> use.
>
> It just turns off the APP/NOAPP markers which we should be able to do
> anyway; it's independent of the discussion regardi...
2013 May 09
0
[LLVMdev] #APP/#NOAPP
...gt;>>> strings. (In AsmPrinter) on a per function basis.
>>>>>
>>>>> if (OutStreamer.hasRawTextSupport() &&
>>>>> MAI->getInlineAsmStart()[0])
>>>>> OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
>>>>> MAI->getInlineAsmStart());
>>>>>
>>>>> So a simple method in AsmPrinter would be the easiest for people to
>>>>> use.
>>>>>
>>>>> It just turns off the APP/NOAPP m...
2013 May 06
0
[LLVMdev] #APP/#NOAPP
On 6 May 2013 10:29, reed kotler <rkotler at mips.com> wrote:
> I want to disable the #APP/#NOAPP for compiler generated inline asm.
>
> Unfortunately, you can change the string APP,NOAPP, but it still will put
> the "#" there and create
> a line.
>
> In the comments it said that the strings were #APP,#NOAPP but really it's
> just the part after the
>
2013 May 06
2
[LLVMdev] #APP/#NOAPP
I want to disable the #APP/#NOAPP for compiler generated inline asm.
Unfortunately, you can change the string APP,NOAPP, but it still will
put the "#" there and create
a line.
In the comments it said that the strings were #APP,#NOAPP but really
it's just the part after the
comment_string=='#'
I'd like to just add a mode flag to AsmPrinter for this.
Any objections?