[LLVMdev] new annotations in IR?

James Molloy James.Molloy at arm.com
Wed Sep 21 23:55:07 PDT 2011


Hi Mark,

I don't know anything about Clang's annotations or attributes, but from what you describe it sounds like you want to attach metadata to Values?

Try searching for "metadata" instead, that should get you more results :)

Cheers,

James

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Mark Brown
Sent: 22 September 2011 07:46
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] new annotations in IR?

With recent work a plugin can now Annotate a VarDecl at the AST level, how can this be used in a Pass at the IR level? What classes are responsible for their manipulation? I assumed it would be part of Value, or something common like it, but I do not see any mentions of Annotation or Attribute.

Thank you

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110922/e7658e48/attachment.html>


More information about the llvm-dev mailing list