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.

Direct dependencies

OVERRIDE_FRAME_POINTER_DEFAULT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/debug/Kconfig:240

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:12

Menu path: (Top) → 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.)