[LLVMdev] share between AST and IR?
retval386 at gmail.com
Mon Jul 25 06:43:35 PDT 2011
I'm not finding much information on CodeGenOptions::EmitDeclMetadata() or
-mno-red-zone. I'm not sure how this should be enabled or how I should use
this. Do you know of a example or remember how you learned of this?
Thanks again and sorry for the late reply
On Thu, Jul 21, 2011 at 2:55 PM, Vassil Vassilev <
vasil.georgiev.vasilev at cern.ch> wrote:
> 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 listLLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 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