[PLUGIN] Support for registering cache tables from plugins

Chris Lattner sabre@nondot.org
Sat Sep 5 15:41:00 GMT 2009


On Sep 5, 2009, at 3:17 AM, Duncan Sands wrote:
>> Or a clang frontend for GCC.  Something even more useful.  No idea  
>> if the
>> plugin hooks are already enough to support a frontend plugin.
>
> I don't think doing this as a GCC plugin makes much sense.  Rather,  
> gcc
> should be a plugin for clang.  If the clang interface to the LLVM
> backend is properly abstracted (I don't know if it is) then this might
> be quite easy to do.

Yep, it is.  The LLVM backend has no special status in Clang.

-Chris



More information about the Gcc-patches mailing list