-fdump-translation-unit format

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

 



I've read a few variations of the disclaimer for this feature:

"This is only meant to help gcc developers.  The format is not documented, and
it's subject to change at any time."

Nevertheless, the dump output is enormously useful.  We parse it and use it to
automatically generate scripting language wrappers for API's that are
impractical to wrap using other methods (like swig).

The format generated by gcc-4.1.* and gcc-4.2.* is pretty consistent, but it
appears to have changed significantly starting with 4.3.*.  In particular, in
the newer format, the identifier_node for a type_decl doesn't show template
parameters.  That has proven to be a show-stopper for us.

Is it possible to recover the missing information, or generate it in a different
way, using gcc-4.3+?

And any chance for userland support for this feature?

Thanks,

Stefan Zager




[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