Commit 8136372a authored by ssanfilippo's avatar ssanfilippo Committed by Commit bot

Add option in Makefile to preserve frame pointer.

LOG=N

Review URL: https://codereview.chromium.org/1778073003

Cr-Commit-Position: refs/heads/master@{#34670}
parent 4614c7ca
...@@ -219,6 +219,10 @@ endif ...@@ -219,6 +219,10 @@ endif
ifeq ($(arm_test_noprobe), on) ifeq ($(arm_test_noprobe), on)
GYPFLAGS += -Darm_test_noprobe=on GYPFLAGS += -Darm_test_noprobe=on
endif endif
# Do not omit the frame pointer, needed for profiling with perf
ifeq ($(no_omit_framepointer), on)
GYPFLAGS += -Drelease_extra_cflags=-fno-omit-frame-pointer
endif
# ----------------- available targets: -------------------- # ----------------- available targets: --------------------
# - "grokdump": rebuilds heap constants lists used by grokdump # - "grokdump": rebuilds heap constants lists used by grokdump
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment