Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: Makefile

Issue 1778073003: Add option in Makefile to preserve frame pointer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index 4fb6ee0162275f88737145bdff58d20d3e3f1cf4..b32a718f24126bc3ad73d3ffa6731de14813f7f5 100644
--- a/Makefile
+++ b/Makefile
@@ -219,6 +219,10 @@ endif
ifeq ($(arm_test_noprobe), on)
GYPFLAGS += -Darm_test_noprobe=on
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: --------------------
# - "grokdump": rebuilds heap constants lists used by grokdump
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698