public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Matt Austern <austern@apple.com>
To: gcc@gcc.gnu.org
Subject: Re: -fdump-translation-unit-xml
Date: Mon, 30 Sep 2002 11:14:00 -0000	[thread overview]
Message-ID: <BCF7F07C-D49F-11D6-A787-00039390D9E0@apple.com> (raw)
In-Reply-To: <200209281801.45802.ldelana@libero.it>

On Saturday, September 28, 2002, at 11:01 AM, Lorenzo Delana wrote:

>
> If you try to parse the result to `-fdump-translation-unit' you meet 
> some
> problems specially for the question about where a string end, etc..
> This problem was addressed in the past by someone in this list...

Not a direct response, but this reminded me of something
I'd been meaning to bring up before...

-fdump-translation-unit is very useful, but I'd describe it more
as human-parsable than as human-readable.  You can step
through it by hand, but it's essentially impossible to use it to
understand anything about tree structure at a glance.

At Apple, we've developed an alternative tree dumper that's
less useful for reading by machine, but much more human
readable.  We've found our alternative tree dumper to be very
useful for debugging.

Is there any interest in an alternative tree dumper?  If so, we'd
be very happy to talk some more about it, to show some
examples of the tree dumps it produces, and to clean up the
code for a patch.

And just to state the obvious: we don't think of this as a
replacement for -fdump-translation-unit.  We think of the two
tree dumpers as complementary.

			--Matt

  reply	other threads:[~2002-09-30 18:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-28  9:40 -fdump-translation-unit-xml Lorenzo Delana
2002-09-30 11:14 ` Matt Austern [this message]
2002-09-30 11:18   ` -fdump-translation-unit-xml Zack Weinberg
2002-09-30 11:25   ` -fdump-translation-unit-xml Gabriel Dos Reis
2002-09-30 12:23   ` -fdump-translation-unit-xml Pop Sébastian
2002-09-30 12:26     ` -fdump-translation-unit-xml Mike Stump
2002-09-30 12:27       ` -fdump-translation-unit-xml Pop Sébastian
2002-09-30 12:41         ` -fdump-translation-unit-xml Phil Edwards
2002-09-30 13:06           ` -fdump-translation-unit-xml Pop Sébastian
2002-09-30 13:20           ` -fdump-translation-unit-xml Daniel Berlin
2002-09-30 13:26             ` -fdump-translation-unit-xml David Carlton
2002-09-30 13:59         ` -fdump-translation-unit-xml Matt Austern
2002-09-30 23:57   ` -fdump-translation-unit-xml ( patch ) Lorenzo Delana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BCF7F07C-D49F-11D6-A787-00039390D9E0@apple.com \
    --to=austern@apple.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).