rt: Turn on frame pointers for stack walking

This commit is contained in:
Brian Anderson 2012-06-11 22:44:16 -07:00
parent 9f3b12b6c6
commit 41df9cbb44

View file

@ -9,8 +9,14 @@ endef
$(foreach t,$(CFG_TARGET_TRIPLES),$(eval $(call DEF_HOST_VAR,$(t))))
$(foreach t,$(CFG_TARGET_TRIPLES),$(info cfg: host for $(t) is $(HOST_$(t))))
# FIXME: This appears to do nothing
CFG_GCCISH_FLAGS += -fno-strict-aliasing
# FIXME: no-omit-frame-pointer is just so that task_start_wrapper
# has a frame pointer and the stack walker can understand it. Turning off
# frame pointers everywhere is overkill
CFG_GCCISH_CFLAGS += -fno-omit-frame-pointer
# On Darwin, we need to run dsymutil so the debugging information ends
# up in the right place. On other platforms, it automatically gets
# embedded into the executable, so use a no-op command.