You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : --filtercomment, --no_filtercomment

--filtercomment, --no_filtercomment

Controls whether or not the linker modifies the .comment section to assist merging.


The linker always removes identical comments. The --filtercomment permits the linker to preprocess the .comment section and remove some information that prevents merging.

Use --no_filtercomment to prevent the linker from modifying the .comment section.


armlink does not preprocess comment sections from armclang.


The default is --filtercomment.