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

Unified Diff: tools/gyp/configurations_make.gypi

Issue 407293002: Disable frame pointers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | « tools/gyp/configurations_android.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_make.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
index 6ff4c5b8e0a4114b22eb8419c74530b284d25129..2b2943c8b57bb3b3dfaf2af1322a11dcbef145a4 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -137,8 +137,9 @@
'abstract': 1,
'cflags': [
'-O<(dart_debug_optimization_level)',
- # The sampling profiler uses the frame pointer to walk the stack.
- '-fno-omit-frame-pointer',
+ # Uncomment the following line and pass --profile-vm to enable
+ # profiling of C++ code within Observatory.
+ # '-fno-omit-frame-pointer',
# Clang on Linux will still omit frame pointers from leaf functions
# unless told otherwise:
# '-mno-omit-leaf-frame-pointer',
@@ -149,8 +150,9 @@
'abstract': 1,
'cflags': [
'-O3',
- # The sampling profiler uses the frame pointer to walk the stack.
- '-fno-omit-frame-pointer',
+ # Uncomment the following line and pass --profile-vm to enable
+ # profiling of C++ code within Observatory.
+ # '-fno-omit-frame-pointer',
# Clang on Linux will still omit frame pointers from leaf functions
# unless told otherwise:
# '-mno-omit-leaf-frame-pointer',
« no previous file with comments | « tools/gyp/configurations_android.gypi ('k') | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698