[LLVMdev] #APP/#NOAPP

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon May 6 07:52:40 PDT 2013


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
> comment_string=='#'
>
> I'd like to just add a mode flag to AsmPrinter for this.
>
> Any objections?

Yes.  I don't think we should introduce the notion of "compiler
generated inline asm".

> Alternately I could change the logic in AsmPrinter to not print a line if
> the inlline asm start/end string is null.
>
> ????
>
> TIA.
>
> Reed
>

Cheers,
Rafael



More information about the llvm-dev mailing list