[Patch] XML node dump extension
Original Reporter info from Mantis: CuriousKit @CuriousKit
-
Reporter name: J. Gareth Moreton
Original Reporter info from Mantis: CuriousKit @CuriousKit
- Reporter name: J. Gareth Moreton
Description:
This patch extends the DEBUG_NODE_XML debug feature by also outputting, to the *-node-dump.xml files, the node tree as it appears after the first pass, since it often contains many more internal nodes like temporary allocations that may need to be evaluated for debugging and development purposes, or node-level optimisation opportunities.
Steps to reproduce:
Apply patch and confirm zero difference to compilation if DEBUG_NODE_XML is not defined, and the presence of a "firstpass" tag for subroutines in the *-node-dump.xml files when it is defined.
Additional information:
This feature, temporarily enabled, allowed me to better investigate #38129 (closed) and find a solution.
NOTE: Building the compiler with DEBUG_NODE_XML specified takes up a lot of disk space. Case in point, when making r47639, the classes-node-dump.xml file is 26,962,823 bytes in size on x86_64-win64.
Mantis conversion info:
- Mantis ID: 38156
- OS: Microsoft Windows
- OS Build: 10 Home
- Build: r47639
- Platform: Cross-platform
- Version: 3.3.1
- Fixed in version: 3.3.1
- Target version: 4.0.0