8.106 --inline, --no_inline

Enables and disables the inlining of functions. Disabling the inlining of functions can help to improve the debug illusion.

When the option --inline is selected, the compiler considers inlining each function. Compiling your code with --inline does not guarantee that all functions are inlined, as the compiler uses a complex decision tree to decide whether to inline a particular function.

When the option --no_inline is selected, the compiler does not attempt to inline functions, other than functions qualified with __forceinline.


The default is --inline.

Related reference
8.83 --forceinline
8.15 --autoinline, --no_autoinline
8.138 -Onum
8.141 -Ospace
8.142 -Otime
10.6 __forceinline
10.8 __inline
2.15 Linker feedback during compilation
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.