This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 7/25/06, Christian Wagner <christian.wagner@dnw-germany.aero> wrote:Hi,
I'm trying to extract information from C++ code during the compilation process.
I need information about declarations, statements, functions (including
parameters and symbol name), source line and source file.
Perhaps you can tell why?
Could somebody please point out good places for me to add such a function?
Could you please name tree structures which contain the full information?
Look in gcc/cp/semantics.c, there's a function (I don't recall which) that finalizes the tree in the front end and hands it to the middle-end for gimplification (probably through a call to cgraph_finalize or something like that).
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |