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?<br>
<br>Thanks again and sorry for the late reply<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 2:55 PM, Vassil Vassilev <span dir="ltr"><<a href="mailto:vasil.georgiev.vasilev@cern.ch">vasil.georgiev.vasilev@cern.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi,<br>
      Isn't clang::CodeGenOptions::EmitDeclMetadata what you need?<br>
    Vassil<div><div></div><div class="h5"><br>
    On 07/21/2011 04:32 AM, ret val wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">
      
      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>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
LLVM Developers mailing list
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>