Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 23ea72721deacaf04a837ab34ffd401e8be2e224..e22279986604ab08881e84342a5ff85a686a3123 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3447,8 +3447,14 @@ |
}], |
['profiling==1', { |
'cflags': [ |
- '-marm', # Probably reduntant, but recommend by "perf" docs. |
- '-mapcs-frame', # Seems required by -fno-omit-frame-pointer. |
+ # Thumb code with frame pointer makes chrome crash |
+ # early. |
+ '-marm', |
+ '-mapcs-frame', # Required by -fno-omit-frame-pointer. |
+ '-fno-optimize-sibling-calls', |
Sami
2014/05/15 13:34:32
Looks like this one is also set by profiling_full_
pasko
2014/05/15 14:34:53
I noticed too. The profiling=1 is supposed to be t
|
+ ], |
+ 'cflags!': [ |
+ '-fomit-frame-pointer', |
Sami
2014/05/15 13:34:32
BTW, is this just a safe guard or did we end up re
pasko
2014/05/15 14:34:53
We add the -fomit-frame-pointer flag on Android at
|
], |
}], |
['clang==1', { |