[cfe-dev] Clang Plugins

John Criswell criswell at illinois.edu
Fri Jul 22 13:21:56 PDT 2011


On 7/22/11 3:15 PM, Douglas Gregor wrote:
> On Jul 22, 2011, at 12:55 PM, John Criswell wrote:
>
>> Dear All,
>>
>> We're looking to integrate our memory safety transforms into Clang so
>> that a simple command-line option to Clang will compile code with memory
>> safety checks.
>>
>> We had originally believed that we would need to modify Clang, but Chris
>> Lattner suggested that we investigate a new plugin infrastructure that
>> is in development in Clang by Doug (I think it has something to do with
>> PassManagerBuilder.h).
>
> As much as I'd love to see an improved plugin framework, I'm not actively working on one.

To quote Chris, "Doug gave a talk at boostcon about doing ast 
transformations with it, but no it is not very mature at all. The static 
analyzer is moving to it, but there are no widely used plugins yet." [1]

Are you the Doug that discussed the Clang plugin infrastructure at 
boostcon?  If so, did I misunderstand Chris when he said that work had 
started on it but that it was in the early stages?

-- John T.

[1] 
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110718/124614.html

>
> 	- Doug




More information about the cfe-dev mailing list