You copied the Doc URL to your clipboard.

--compress_debug, --no_compress_debug

Causes the linker to compress .debug_* sections, if it is sensible to do so.


Deprecated in this release.


Not supported for AArch64 state.


This removes some redundancy and reduces debug table size. Using --compress_debug can significantly increase the time required to link an image. Debug compression can only be performed on DWARF3 debug data, not DWARF2.

This option does not work on DWARF 4. Therefore, you must compile with the armclang option -gdwarf3, because DWARF 4 is the default for armclang.


The default is --no_compress_debug.