---------------------------------------- > Date: Sat, 14 Mar 2015 18:22:29 +0300 > From: malts...@gmail.com > To: gcc@gcc.gnu.org; san...@codesourcery.com > Subject: Examples of GCC plugins > > Hi, all. > > When I first tried to write a simple plugin for GCC, it turned out that > existing docs on plugins > (https://gcc.gnu.org/onlinedocs/gccint/Plugins.html#Plugins) are rather > brief, so I had to refer to the GCC source code. When I grepped the > source looking for one of plugin API functions, I found this directory: > gcc/testsuite/gcc.dg/plugin. > > Plugins in that directory were very helpful as a starting point. I > think, they are definitely worth being mentioned in documentation (maybe > I was inattentive and missed some link to them?) or perhaps even > separated from testsuite (of course, I don't mean removing something > from testsuite, but rather adding a separate Makefile, not dependent on > DejaGNU). Any thoughts on this? > > -- > Regards, > Mikhail Maltsev
I think that will be very helpful to mention this in the documentation. -Aditya