Re: Code Gen Plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Muhammed Fawzy" <mfawzymkh@xxxxxxxxxxx> writes:

>    I would like to know if  it is possible with GCC Plugins to write a
> code gen plugin to modify certain things.
> What I want to achieve is to use the gcc backend, but only change the
> way callsites are generated,  so the plugin should fallback to use
> gcc, and only works when gcc tries to emit code to call functions..
>
> is this something possible with gcc?

If I understand you correctly, then the answer is yes.  A plugin can
insert new compilation passes which can manipulate the instruction
steam however you like.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux