| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index bb9f78142faecb0b78c756ba7949adac7fb01d29..61f6630903c10190beed0c95b7c71cfe1ffc5b9f 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -962,6 +962,8 @@
|
| # Enable sampling based profiler.
|
| # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
|
| 'profiling%': '0',
|
| + # Profile without optimizing out stack frames when profiling==1.
|
| + 'profiling_full_stack_frames%': '0',
|
|
|
| # Enable strict glibc debug mode.
|
| 'glibcxx_debug%': 0,
|
| @@ -2833,6 +2835,14 @@
|
| '-fno-omit-frame-pointer',
|
| '-g',
|
| ],
|
| + 'conditions' : [
|
| + ['profiling_full_stack_frames==1', {
|
| + 'cflags': [
|
| + '-fno-inline',
|
| + '-fno-optimize-sibling-calls',
|
| + ],
|
| + }],
|
| + ],
|
| }],
|
| # Can be omitted to reduce output size. Does not seem to affect
|
| # crash reporting.
|
|
|