[cfe-dev] How to add LLVM IR metadata from a Clang Plugin?
thakis at chromium.org
Wed Oct 19 12:00:26 PDT 2011
It's not possible currently.
On Oct 19, 2011 11:57 AM, "Guillem Marpons" <gmarpons at babel.ls.fi.upm.es>
> I want to pass some AST information from Clang to LLVM and extensible
> metadata (http://blog.llvm.org/2010/04/extensible-metadata-in-llvm-ir.html
> seems the right way to do that. Is it possible to add metadata to the
> generated IR from a "PrintFunctionNames"-like plugin? Some pointers or
> code examples?
> I'm aware that the plugin mechanism may improve in the near future
> I'd like to know if it's possible (and not very difficult) to do it
> with current infrastructure.
> Guillem Marpons
> Universidad Politécnica de Madrid - Babel Group
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev