mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 01:10:35 +08:00
Turn off function instrumentation for inline functions; thanks Greg.
This commit is contained in:
@@ -97,7 +97,7 @@
|
|||||||
* indicates that the function should never be inlined.
|
* indicates that the function should never be inlined.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
# define inline_function __attribute__ ((always_inline))
|
# define inline_function __attribute__ ((always_inline,no_instrument_function))
|
||||||
# define noinline_function __attribute__ ((noinline))
|
# define noinline_function __attribute__ ((noinline))
|
||||||
|
|
||||||
/* GCC has does not use storage classes to qualify addressing */
|
/* GCC has does not use storage classes to qualify addressing */
|
||||||
|
|||||||
Reference in New Issue
Block a user