[LLVMdev] Inserting annotations
kapilanand2 at gmail.com
Thu Mar 5 16:31:28 PST 2009
As far as I know, Instruction class does not inherit "Annotable" Class. Only
Function inherits annotable according to the documentation of annotable
What you are asking would require adding annotations at instruction level,
which does not seem to be possible. You can maintain external maps between
instructions and your annotations,
On Thu, Mar 5, 2009 at 7:17 PM, RAAD B <raad_7007 at yahoo.com> wrote:
> Hello together,
> how can i insert annotations in IR ?
> I want actually write something like:
> CallInst *call = CallInst::Create( ??? , aBasicBlock);
> in my pass.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev