[LLVMdev] manipulating @llvm.var.annotation in AST?

Mark Brown mbrowncu98 at gmail.com
Wed Sep 7 13:01:47 PDT 2011


Is there anyway to manipulate @llvm.var.annotation at the AST level?

In the source file you could do something like
        __attribute__((annotate("GlobalValAnnotation")));

Is it possible todo something like that with a Clang::DeclRefExpr? Could
something be done to @llvm.var.annotation "by hand"? How do you access this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110907/32fdb7ed/attachment.html>


More information about the llvm-dev mailing list