1.17 -fno-inline-functions

Disabling the inlining of functions can help to improve the debug experience.

The compiler attempts to automatically inline functions at optimization levels -O2 and -O3. When these levels are used with -fno-inline-functions, automatic inlining is disabled.

When optimization levels -O0 and -O1 are used with -fno-inline-functions, no automatic inlining is attempted, and only functions that are tagged with __attribute__((always_inline)) are inlined.

Non-ConfidentialPDF file icon PDF versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.