9.87 #pragma inline, #pragma no_inline

These pragmas control inlining, similar to the --inline and --no_inline command-line options.

A function defined under #pragma no_inline is not inlined into other functions, and does not have its own calls inlined.
The effect of suppressing inlining into other functions can also be achieved by marking the function as __declspec(noinline) or __attribute__((noinline)).


The default is #pragma inline.
Related reference
7.87 --inline, --no_inline
9.37 __attribute__((noinline)) function attribute
9.63 __attribute__((noinline)) constant variable attribute
9.23 __declspec(noinline)
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.