You copied the Doc URL to your clipboard.

11.21 --compress_debug, --no_compress_debug

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

Note

Not supported for AArch64 state.

Usage

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.

Default

The default is --no_compress_debug.

Related information

Was this page helpful? Yes No