Index: tools/gyp/configurations_make.gypi |
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi |
index 73d7350fafcebd4f10c6844c8b362c4f43cde10d..6ffc9206751a0fc8f4e240a60898545a27b76a96 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', |
], |
}, |
}, |