search for: inline_asm_start

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

2013 May 06
3
[LLVMdev] #APP/#NOAPP
...> No two people have 100% the same idea of what is best practices. >> >> The following kind of patch works without adding a mode to asm >> printer >> but in general is harder >> 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()+ >>...
2013 May 06
0
[LLVMdev] #APP/#NOAPP
...100% the same idea of what is best practices. >>> >>> The following kind of patch works without adding a mode to asm >>> printer >>> but in general is harder >>> 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()+ >>>...
2013 May 06
4
[LLVMdev] #APP/#NOAPP
...s way but I think it's a perfectly valid approach. No two people have 100% the same idea of what is best practices. The following kind of patch works without adding a mode to asm printer but in general is harder 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 A...
2013 May 07
2
[LLVMdev] #APP/#NOAPP
...at is best practices. >>>> >>>> The following kind of patch works without adding a mode to asm >>>> printer >>>> but in general is harder >>>> 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->getComment...
2013 May 06
0
[LLVMdev] #APP/#NOAPP
...y > valid approach. > No two people have 100% the same idea of what is best practices. > > The following kind of patch works without adding a mode to asm > printer > but in general is harder > 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->getInlineAsmS...
2013 May 09
0
[LLVMdev] #APP/#NOAPP
...t;>>>> >>>>> The following kind of patch works without adding a mode to asm >>>>> printer >>>>> but in general is harder >>>>> 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"...
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?