Skip to content

[ARM / AArch64 / Debug] XML node dumps for asmn nodes now display their assembly language for ARM and AArch64

Summary

This merge request extends the node output information in XML node dumps to include assembly language under ARM and AArch64, where previously it just left the message "(Assembler output is not currently supported on this platform)". This will improve debugging potential on these platforms.

Additionally, there are a couple of minor typographical fixes that also affect x86, as well as supporting the output of constants (so .byte etc. for encoding raw machine code or data tables can be shown).

System

  • Operating system: Linux (Raspberry Pi OS) and others
  • Processor architecture: ARM, AArch64
  • Device: Raspberry Pi 400 and others

What is the current bug behavior?

Assembly language on non-x86 platforms is not displayed in XML node dumps.

What is the behavior after applying this patch?

Assembly language is now displayed in XML node dumps for ARM and AArch64 platforms.

Additional Notes

This is purely a debug feature and won't affect code generation or even the compiler itself unless DEBUG_NODE_XML is defined (and even then, the only change is some of the information generated in the *-node-dump.xml files).

Merge request reports