zephyr/misc
Daniel Thompson f9733e492d misc: Let the compiler choose whether to omit frame pointer
Currently CONFIG_OMIT_FRAME_POINTER is a boolean and defaults to N,
which increases code size. This is intended to improve debugability
but on many architectures the use of this option does not actually
compromise debugging. Further the compiler already knows whether or not
omitting the frame pointer is harmful to debugging and its defaults
are selected accordingly.

By making this choice optional we can have a sane default on *all*
architectures by letting the compiler decide for us.

This patch significantly improves the default code generation on
arm (thumb), nios2 and arc. The benefit looks to be about between 5%
and 10% code size reduction depending upon architecture). x86 is
unaffected.

Change-Id: I5790634a40e2462cc1089dce4087040833793ae7
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2017-02-08 13:14:16 +00:00
..
generated build: remove old kernel support 2016-11-07 11:34:18 -08:00
Kconfig misc: Let the compiler choose whether to omit frame pointer 2017-02-08 13:14:16 +00:00
Makefile debug: move debug features from misc to subsys/debug 2016-12-19 19:58:40 +00:00
cpp_ctors.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cpp_dtors.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cpp_init_array.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cpp_virtual.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cpp_vtable.cpp license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
printk.c misc/printk: Add a function to get the current hook function. 2017-01-27 12:35:52 +02:00
reboot.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ring_buffer.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00