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

Unified Diff: tools/gyp/configurations_make.gypi

Issue 1104323003: Enable frame pointers by default (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | 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 29fab0bdac68301c92cb36f75496fe9d370bc01f..943b48e22145cf07465e8aac04e7805e610981b0 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -177,10 +177,6 @@
'conditions': [
['c_frame_pointers==1', {
'cflags': [
- '-fno-omit-frame-pointer',
- # Clang on Linux will still omit frame pointers from leaf
- # functions unless told otherwise:
- '-mno-omit-leaf-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
@@ -189,6 +185,10 @@
],
'cflags': [
'-O<(dart_debug_optimization_level)',
+ '-fno-omit-frame-pointer',
+ # Clang on Linux will still omit frame pointers from leaf
+ # functions unless told otherwise:
+ '-mno-omit-leaf-frame-pointer',
],
},
@@ -197,10 +197,6 @@
'conditions': [
['c_frame_pointers==1', {
'cflags': [
- '-fno-omit-frame-pointer',
- # Clang on Linux will still omit frame pointers from leaf
- # functions unless told otherwise:
- '-mno-omit-leaf-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
@@ -209,6 +205,10 @@
],
'cflags': [
'-O3',
+ '-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 | « no previous file | tools/gyp/configurations_msvs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698