Re: [gcc-plugin] hooking function declarations...

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

 



On Thursday 08 April 2010 09:06:54 Paweł Sikora wrote:
> hi,
> 
> i'm working on some gcc plugin and need to access all declarations
> for function and classes. hooking on plugin_finish_type and
> plugin_pre_genericize
> gives me afaics only record_trees for declared classes.
> how can i obtain (in easiest way) function decls?

i should notice that i'm compiling only external library *header*
and in such case the plugin_pre_genericize isn't invoked.
afaics plugin_pre_genericize is invoked for classic translation unit.
is it a lack of implemenation in header-precompilation machinery?

[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