|Non-Confidential||PDF version||ARM DUI0472J|
|Home > Compiler Coding Practices > Inline functions and debugging|
The debug view generated for inline functions is generally good. However, it is sometimes useful to avoid inlining functions because in some situations, debugging is clearer if they are not inlined.
You can enable and disable the inlining of functions using the
--no_autoinline command-line options.
The debug view can also be adversely affected by retaining both inline and out-of-line copies of a function when out-of-line copies are not required. Functions that are never called from outside a module can be declared as static functions to avoid an unnecessarily complicated debug view.