Commit a0e681cc authored by pasko@chromium.org's avatar pasko@chromium.org

Android: bake GCC flags for perf into profiling=1 in GYP_DEFINES

BUG=366632

Review URL: https://codereview.chromium.org/283963002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271037 0039d316-1c4b-4281-b951-d872f2087c98
parent 885fe5dc
...@@ -3511,8 +3511,16 @@ ...@@ -3511,8 +3511,16 @@
}], }],
['profiling==1', { ['profiling==1', {
'cflags': [ 'cflags': [
'-marm', # Probably reduntant, but recommend by "perf" docs. # Thumb code with frame pointer makes chrome crash
'-mapcs-frame', # Seems required by -fno-omit-frame-pointer. # early.
'-marm',
'-mapcs-frame', # Required by -fno-omit-frame-pointer.
# The perf report sometimes incorrectly attributes
# code from tail calls.
'-fno-optimize-sibling-calls',
],
'cflags!': [
'-fomit-frame-pointer',
], ],
}], }],
['clang==1', { ['clang==1', {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment