CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT:

Omitting the frame pointer prevents the compiler from putting the stack frame pointer into a register. Saves a few instructions in function prologues/epilogues and frees up a register for general-purpose use, which can provide good performance improvements on register-constrained architectures like x86. On some architectures (including x86) omitting frame pointers impedes debugging as local variables are harder to locate. At -O1 and above gcc will enable -fomit-frame-pointer automatically but only if the architecture does not require if for effective debugging.

Choose Y is you want to override the default frame pointer behaviour of your compiler, otherwise choose N.

Symbol:

OVERRIDE_FRAME_POINTER_DEFAULT

Type:

bool

Value:

“n”

User value:

(no user value)

Visibility:

“y”

Is choice item:

false

Is defined:

true

Is from env.:

false

Is special:

false

Prompts:
  • “Override compiler defaults for -fomit-frame-pointer”
Default values:
  • n (value: “n”)
  • Condition: (none)
Selects:

(no selects)

Reverse (select-related) dependencies:
 

(no reverse dependencies)

Additional dependencies from enclosing menus and ifs:
 

(no additional dependencies)

Locations:
  • ../misc/Kconfig:209