[cfe-dev] Proposal for a code gen plugin interface

Matthieu Monrocq matthieu.monrocq at gmail.com
Tue May 29 10:03:38 PDT 2012


On Tue, May 29, 2012 at 5:48 PM, florian.merz at kit.edu
<florian.merz at kit.edu>wrote:

> Hi list,
>
> we want to propose adding a plugin interface to clang's CodeGen library.
>
> This interface would allow, e.g., adding custom metadata from clang to the
> generated LLVM-IR as well as limited modifications of the generated
> bitcode.
>
> We have already implemented the interface described in the following link
> and
> we are successfully using it in our own project (http://llbmc.org).
>
> http://baldur.iti.kit.edu/~fmerz/codegen/proposal.html
>
> We expect that other projects might also profit from this interface and
> thus
> suggest to include it into clang. If there is interest from you we'll
> prepare
> a clean patch (currently we have a patch for 3.0) and send it to the list
> for
> reviewing.
>
> Regards,
>  Florian
>


LLBMC looks very similar to Address Sanitizer, as far as the memory
checking goes at least.

Do you know of Asan, and if so, of the differences ?

-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120529/37580b0c/attachment.html>


More information about the cfe-dev mailing list