[LLVMdev] share between AST and IR?

Vassil Vassilev vasil.georgiev.vasilev at cern.ch
Thu Jul 21 11:55:04 PDT 2011

   Isn't clang::CodeGenOptions::EmitDeclMetadata what you need?
On 07/21/2011 04:32 AM, ret val wrote:
> I wrote a plugin using ASTConsumer and RecursiveASTVisitor to find 
> "interesting" variables and functions. I'm wonder if there is a way to 
> save/flag/metadata these so later on at the IR level I can use this 
> information in a Pass.
> As far as I can tell nothing currently would allow me todo this and 
> I'm wondering what exactly it would take to do something like this. 
> After stairing at the ode for awhile I'm not even really sure where to 
> begin or what the key files are.
> Any advice?
> Thanks you
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110721/fc4326c2/attachment.html>

More information about the llvm-dev mailing list