Forgot mention, being able to see these flags at the IR level in a pass would also help me greatly.<br><br>Thanks again<br><br><div class="gmail_quote">On Wed, Jul 20, 2011 at 8:14 PM, ret val <span dir="ltr"><<a href="mailto:retval386@gmail.com">retval386@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">As a plugin I used the ASTConsumer and RecusiveASTVisitor class to find "interesting" variables and functions. Ultimately I want the address of these either in the object file or resulting elf.<br>
<br>From the IRC channel it sounds like this is currently impossible, if not Id love to hear how I could do this.<br>
<br>Now I would like to know what exactly would need to be edited so while in the AST so I could "flag" these interesting things(metadata), so when the codegen routines runs I could add something(like a comment maybe). Can anyone give me a hand with how to begin? After browsing these files for awhile now I'm not even sure what the key functions would be.<br>

<br>Thank you<br>
</blockquote></div><br>