[LLVMdev] share between AST and IR?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev