You copied the Doc URL to your clipboard.

Arm Compiler armasm User Guide : --debug


Instructs the assembler to generate DWARF debug tables.

--debug is a synonym for -g. The default is DWARF 3.


Local symbols are not preserved with --debug. You must specify --keep if you want to preserve the local symbols to aid debugging.