1.13 -flto [ALPHA]

Enables link time optimization, outputting bitcode files for link time optimization rather than ELF object files.

Note

This topic describes an [ALPHA] feature.
The primary use for bitcode files is for link time optimization. See Optimizing across modules with link time optimization in the Software Development Guide for more information about link time optimization.

Usage

The compiler creates one bitcode file for each source file, with a .o file extension replacing the file extension on the input source file.
The -flto option passes the --lto option to armlink to enable link time optimization, unless the -c option is specified.
Related reference
1.2 -c
Related information
Optimizing across modules with link time optimization
--lto armlink option
Non-ConfidentialPDF file icon PDF versionARM DUI0774E
Copyright © 2014-2016 ARM. All rights reserved.