<br><br><div class="gmail_quote">On Tue, May 29, 2012 at 5:48 PM, <a href="mailto:florian.merz@kit.edu">florian.merz@kit.edu</a> <span dir="ltr"><<a href="mailto:florian.merz@kit.edu" target="_blank">florian.merz@kit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
we want to propose adding a plugin interface to clang's CodeGen library.<br>
<br>
This interface would allow, e.g., adding custom metadata from clang to the<br>
generated LLVM-IR as well as limited modifications of the generated bitcode.<br>
<br>
We have already implemented the interface described in the following link and<br>
we are successfully using it in our own project (<a href="http://llbmc.org" target="_blank">http://llbmc.org</a>).<br>
<br>
<a href="http://baldur.iti.kit.edu/%7Efmerz/codegen/proposal.html" target="_blank">http://baldur.iti.kit.edu/~fmerz/codegen/proposal.html</a><br>
<br>
We expect that other projects might also profit from this interface and thus<br>
suggest to include it into clang. If there is interest from you we'll prepare<br>
a clean patch (currently we have a patch for 3.0) and send it to the list for<br>
reviewing.<br>
<br>
Regards,<br>
 Florian<br></blockquote></div><br><br>LLBMC looks very similar to Address Sanitizer, as far as the memory checking goes at least.<br><br>Do you know of Asan, and if so, of the differences ?<br><br>-- Matthieu<br>