[LLVMdev] How to associate extra comments to a MachineInstruction ?

Eric Christopher echristo at gmail.com
Thu May 30 14:00:50 PDT 2013


Should be spelled like this yes?

Asm->OutStreamer.AddComment("foo")
Asm->EmitFoo();

-eric

On Thu, May 30, 2013 at 1:44 PM, Jeroen Dobbelaere
<Jeroen.Dobbelaere at synopsys.com> wrote:
> Hi,
>
> is there a convenient way to associate/add a comment to a  MachineInstruction, so that
> in the produced assembly file, the comment is added next to the instruction ?
>
> Greetings,
>
> Jeroen Dobbelaere
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list