<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
Isn't clang::CodeGenOptions::EmitDeclMetadata what you need?<br>
Vassil<br>
On 07/21/2011 04:32 AM, ret val wrote:
<blockquote
cite="mid:CAJH5N=Q9-1EMJxgfSzTUWDnpXZ8VtrqEm0mYN6fQYFFjEUMNyg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
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.<br>
<br>
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.<br>
<br>
Any advice?<br>
Thanks you<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>