On Nov 24, 2010, at 3:21 AM, John McCall wrote:

> Author: rjmccall
> Date: Wed Nov 24 05:21:45 2010
> New Revision: 120088
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=120088&view=rev
> Log:
> Add -cc1 -ast-dump-xml, an excessively detailed XML dump of the internals
> of the ASTs.  Only available in assertions builds.  No stability guarantee.
> 
> This is intended solely as a debugging tool.  I'm not sure if the goals
> are sufficiently aligned with the XML printer to allow a common
> implementation.
> 
> Currently just falls back on the StmtDumper to display statements,
> which means it doesn't produce valid XML in those cases.

I'm a bit dubious about this given the struggles we've had with the current XML 
dumper.  Please document somewhere that the output isn't guaranteed to be 
stable.  Also, why only in assert builds?  We have no precedent for that.

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to