This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Progress on GCC plugins ?
On Nov 16, 2007, Basile STARYNKEVITCH <basile@starynkevitch.net> wrote:
> For example, the "simple" plugin mechanism many people have implicitly
> in mind is just: something give you the ability to call a dlsymed
> function inside a dlopened plugin as a pass in a defined (& fixed)
> position in passes.c. I tend to believe it is not that difficult to
> implement (it seems to me that the issue is to get it accepted in the
> trunk). However, this does not guaranty at all that all the internal
> representation (e.g. the tree.h and other header files) is stable.
Exactly. And I guess some of this could even be accomplished with
LD_PRELOAD. But how useful would that be, really? How far would this
go into addressing the real needs that are behind the requests for
plugin support?
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}