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

Issue 1965143003: Don't omit frame pointers in profiling GN builds. (Closed)

Created:
4 years, 7 months ago by Dmitry Skiba
Modified:
4 years, 7 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, Primiano Tucci (use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't omit frame pointers in profiling Android GN builds. This CL makes sure that frame pointers (used for fast stack unwinding) are not omitted when enable_profiling is true. There are two changes: 1. Don't add -fomit-frame-pointer flag (Android-specific change). 2. Add -fno-omit-frame-pointer flag even in debug builds. This is needed for Android where debug builds are optimized too (-Os). BUG=602701 Committed: https://crrev.com/14430a4de781aca8e67f6ec7b8893647d7ee26d9 Cr-Commit-Position: refs/heads/master@{#393320}

Patch Set 1 #

Patch Set 2 : Always add -fno-omit-frame-pointer #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M build/config/compiler/BUILD.gn View 1 3 chunks +15 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Dmitry Skiba
Detailed data: === Debug / no profiling === GYP: -fno-omit-frame-pointer - 0 matches -fomit-frame-pointer - ...
4 years, 7 months ago (2016-05-11 21:56:19 UTC) #2
Dirk Pranke
lgtm
4 years, 7 months ago (2016-05-12 01:04:28 UTC) #4
Dmitry Skiba
Please take a look again. I found that Android debug builds are optimized for size, ...
4 years, 7 months ago (2016-05-12 16:53:34 UTC) #6
Dirk Pranke
still lgtm.
4 years, 7 months ago (2016-05-12 17:52:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965143003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965143003/40001
4 years, 7 months ago (2016-05-12 18:03:16 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-12 19:00:55 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 19:03:11 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/14430a4de781aca8e67f6ec7b8893647d7ee26d9
Cr-Commit-Position: refs/heads/master@{#393320}

Powered by Google App Engine
This is Rietveld 408576698