Skip to content

Commit 17c42db

Browse files
committed
mk: remove -fno-omit-frame-pointer
This is still used for Rust code (`Options.NoFramePointerElim = true`).
1 parent cd8ee78 commit 17c42db

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

mk/platform.mk

-7
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ endef
2626
$(foreach t,$(CFG_TARGET),$(eval $(call DEF_OSTYPE_VAR,$(t))))
2727
$(foreach t,$(CFG_TARGET),$(info cfg: os for $(t) is $(OSTYPE_$(t))))
2828

29-
# FIXME: no-omit-frame-pointer is just so that task_start_wrapper
30-
# has a frame pointer and the stack walker can understand it. Turning off
31-
# frame pointers everywhere is overkill
32-
CFG_GCCISH_CFLAGS += -fno-omit-frame-pointer
33-
3429
# On Darwin, we need to run dsymutil so the debugging information ends
3530
# up in the right place. On other platforms, it automatically gets
3631
# embedded into the executable, so use a no-op command.
@@ -160,7 +155,6 @@ CFG_DEF_SUFFIX_x86_64-unknown-linux-gnu := .linux.def
160155
CFG_LLC_FLAGS_x86_64-unknown-linux-gnu :=
161156
CFG_INSTALL_NAME_x86_64-unknown-linux-gnu =
162157
CFG_LIBUV_LINK_FLAGS_x86_64-unknown-linux-gnu =
163-
CFG_LLVM_BUILD_ENV_x86_64-unknown-linux-gnu="CXXFLAGS=-fno-omit-frame-pointer"
164158
CFG_EXE_SUFFIX_x86_64-unknown-linux-gnu =
165159
CFG_WINDOWSY_x86_64-unknown-linux-gnu :=
166160
CFG_UNIXY_x86_64-unknown-linux-gnu := 1
@@ -188,7 +182,6 @@ CFG_DEF_SUFFIX_i686-unknown-linux-gnu := .linux.def
188182
CFG_LLC_FLAGS_i686-unknown-linux-gnu :=
189183
CFG_INSTALL_NAME_i686-unknown-linux-gnu =
190184
CFG_LIBUV_LINK_FLAGS_i686-unknown-linux-gnu =
191-
CFG_LLVM_BUILD_ENV_i686-unknown-linux-gnu="CXXFLAGS=-fno-omit-frame-pointer"
192185
CFG_EXE_SUFFIX_i686-unknown-linux-gnu =
193186
CFG_WINDOWSY_i686-unknown-linux-gnu :=
194187
CFG_UNIXY_i686-unknown-linux-gnu := 1

0 commit comments

Comments
 (0)