-
CONFIG_OMIT_FRAME_POINTER
¶
Omit frame pointer
Type: bool
Help¶
Choose Y for best performance. On some architectures (including x86) this will favor code size and performance over debugability.
Choose N in you wish to retain the frame pointer. This option may be useful if your application uses runtime backtracing and does not support parsing unwind tables.
If unsure, disable OVERRIDE_FRAME_POINTER_DEFAULT to allow the compiler to adopt sensible defaults for your architecture.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/debug/Kconfig:295
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:16
Menu path: (Top) → Sub Systems and OS Services → Debugging Options → Override compiler defaults for -fomit-frame-pointer
config OMIT_FRAME_POINTER
bool "Omit frame pointer"
depends on OVERRIDE_FRAME_POINTER_DEFAULT
help
Choose Y for best performance. On some architectures (including x86)
this will favor code size and performance over debugability.
Choose N in you wish to retain the frame pointer. This option may
be useful if your application uses runtime backtracing and does not
support parsing unwind tables.
If unsure, disable OVERRIDE_FRAME_POINTER_DEFAULT to allow the compiler
to adopt sensible defaults for your architecture.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)