[cfe-commits] [PATCH] Introduce a plugin architecture

Nico Weber thakis at chromium.org
Wed Mar 7 08:13:57 PST 2012


On Mon, Mar 5, 2012 at 6:18 PM, Ahmed Charles <ahmedcharles at gmail.com> wrote:
> Does this solve the issue where plugins prevent codegen from working?

Plugins work with codegen if you use -add-plugin instead of -plugin.
Joshua: Were you planning on adding a -fadd-plugin switch to the
driver as well?

Nico

>
> From: Joshua Cranmer
> Sent: 3/5/2012 12:54 PM
> To: cfe-commits at cs.uiuc.edu
> Subject: Re: [cfe-commits] [PATCH] Introduce a plugin architecture
> On 3/5/2012 12:16 PM, Sebastian Redl wrote:
>> On 05.03.2012, at 17:58, pidgeot18 at gmail.com wrote:
>>
>>> +
>>> +/**
>>> + * Callback that is called before a function is compiled.
>> s/function/file/ or maybe s/a/any/ ? The way it is doesn't sound right.
> D'oh... shouldn't attempt to write documentation after midnight...
>
>> I still think plugins should be capable of transforming the AST and
>> passing the modified AST down the line (for code augmentation), but
>> this looks like an excellent first step. Sebastian
>
> I do too, but I have heard that there is a lot of code which wouldn't be
> happy with this right now, so that warrants its own set of patches IMHO.
>
> --
> Joshua Cranmer
> News submodule owner
> DXR coauthor
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list