call site information

Tom Tromey tromey@redhat.com
Thu Feb 21 22:17:00 GMT 2008


>>>>> "Dasarath" == Dasarath Weeratunge <dasarath@gmail.com> writes:

Dasarath> If I have a CALL_EXPR how can I find out information about the call
Dasarath> site? For example, the filename and line number.

See EXPR_HAS_LOCATION, EXPR_LOCUS, etc.
In general I recommend reading tree.def and skimming tree.h before
trying to do anything with trees.  doc/c-tree.texi may also be helpful.

Tom



More information about the Gcc mailing list