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

Issue 2887783002: [gn] Allow building a snapshot with unwinding information. (Closed)

Created:
3 years, 7 months ago by Pierre Langlois
Modified:
3 years, 7 months ago
Reviewers:
Benedikt Meurer, Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[gn] Allow building a snapshot with unwinding information. Add a new "v8_perf_prof_unwinding_info" option to gn that translates to building the snapshot with "--perf-prof-unwinding-info". It allows unwinding TF generated code from the snapshot. Additionally, add a warning if one uses the option along with a snapshot which was not build with unwinding information. Running tests in this configuration revealed an issue in the checks performed when accessing the stub cache. We would assume that the `Code::Flags` bitfield only contains the `Kind` and `ExtraICState` fields, when there is also a `HasUnwindingInfo` field which can now be set for stubs. BUG= Review-Url: https://codereview.chromium.org/2887783002 Cr-Commit-Position: refs/heads/master@{#45477} Committed: https://chromium.googlesource.com/v8/v8/+/73ab0f4b9fd31542eb6a72949092b9874a31761d

Patch Set 1 #

Patch Set 2 : Fix assertion in stub-cache.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -6 lines) Patch
M BUILD.gn View 1 3 chunks +11 lines, -0 lines 0 comments Download
M src/ic/stub-cache.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download
M src/setup-isolate-deserialize.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Pierre Langlois
3 years, 7 months ago (2017-05-17 12:48:19 UTC) #2
Pierre Langlois
Hello, Any thought on this patch? It helps figuring out where things like "LoadIC" come ...
3 years, 7 months ago (2017-05-22 14:21:03 UTC) #5
Benedikt Meurer
LGTM from my side.
3 years, 7 months ago (2017-05-23 04:16:44 UTC) #6
Jarin
lgtm, thank you! I am sorry for the delay.
3 years, 7 months ago (2017-05-23 08:01:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2887783002/20001
3 years, 7 months ago (2017-05-23 08:26:12 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 09:47:43 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/73ab0f4b9fd31542eb6a72949092b9874a3...

Powered by Google App Engine
This is Rietveld 408576698