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

Unified Diff: build/common.gypi

Issue 283963002: Android: bake GCC flags for perf into profiling=1 in GYP_DEFINES (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698