[fpc-devel] XML node dump feature
J. Gareth Moreton
gareth at moreton-family.com
Sat Jun 22 21:56:26 CEST 2019
Hi everyone,
Thanks to Pierre's sponsorship and advice, the Free Pascal Compiler now
contains the feature that allows you to dump the intermediate nodes
generated by the compiler. When enabled with "-dDEBUG_NODE_XML" in the
compiler's source code, all units will have a "NAME-node-dump.xml" file
generated alongside the compiled source.
This feature is designed to aid with debugging the compiler when
introducing new features, but might prove useful in fixing existing
bugs, like with https://bugs.freepascal.org/view.php?id=32913 that's
been on my books for months now.
The node dumping is still a work in progress - for example, it doesn't
yet dump definitions for global constants - so any extensions would be
greatly appreciated.
Thank you so much Pierre for your assistance and support in this
feature, and I hope it proves useful to everyone.
Gareth aka. Kit
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the fpc-devel
mailing list