You copied the Doc URL to your clipboard.

--lto_keep_all_symbols, --no_lto_keep_all_symbols

Specifies whether link time optimization removes unreferenced global symbols.

Using --lto_keep_all_symbols affects all symbols and largely reduces the usefulness of link time optimization. If you need to keep only a specific unreferenced symbol, then use the --keep option instead.


The default is --no_lto_keep_all_symbols.

Was this page helpful? Yes No