Index: tools/gyp/configurations_make.gypi |
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi |
index 73d7350fafcebd4f10c6844c8b362c4f43cde10d..00415abc86e1a6695ba7269c58afbaf944a2160e 100644 |
--- a/tools/gyp/configurations_make.gypi |
+++ b/tools/gyp/configurations_make.gypi |
@@ -93,6 +93,9 @@ |
'-O<(dart_debug_optimization_level)', |
# The sampling profiler uses the frame pointer to walk the stack. |
'-fno-omit-frame-pointer', |
+ # Clang on Linux will still omit frame pointers from leaf functions |
+ # unless told otherwise: |
+ '-mno-omit-leaf-frame-pointer', |
], |
}, |
@@ -101,6 +104,9 @@ |
'-O3', |
# The sampling profiler uses the frame pointer to walk the stack. |
'-fno-omit-frame-pointer', |
+ # Clang on Linux will still omit frame pointers from leaf functions |
+ # unless told otherwise: |
+ '-mno-omit-leaf-frame-pointer', |
siva
2013/12/17 16:47:51
Does chrome have the same build option?
I am not s
|
], |
}, |
}, |