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

Issue 1150633002: Track prologue offset of Code and use for more precise return addresses (Closed)

Created:
5 years, 7 months ago by Cutch
Modified:
5 years, 7 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Track prologue offset of Code and use for more precise return addresses - Remember the prologue offset in the Code object. - Size of Code object does not change. - Use the prologue offset to assist in locating the return address of the current frame. - Prologue offset + instruction pattern matching will be accurate for all Dart code, most intrinsic prefixed Dart code, and some stub code. - By default only collect Dart frames (normal Dart developers only care about Dart frames) R=srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/baa34257fc4fd554c64ffc44eb13febf15be3abf

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -178 lines) Patch
M runtime/vm/assembler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 2 3 chunks +13 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/instructions_ia32.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M runtime/vm/instructions_ia32.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/instructions_x64.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M runtime/vm/instructions_x64.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 2 chunks +12 lines, -8 lines 0 comments Download
M runtime/vm/object.cc View 1 2 9 chunks +71 lines, -11 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 3 10 chunks +67 lines, -153 lines 0 comments Download
M runtime/vm/raw_object.h View 3 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Cutch
5 years, 7 months ago (2015-05-20 22:59:09 UTC) #2
srdjan
LGTM https://codereview.chromium.org/1150633002/diff/20001/runtime/vm/instructions_ia32.cc File runtime/vm/instructions_ia32.cc (right): https://codereview.chromium.org/1150633002/diff/20001/runtime/vm/instructions_ia32.cc#newcode58 runtime/vm/instructions_ia32.cc:58: const int* ProloguePattern::pattern() const { maybe describe somewhere ...
5 years, 7 months ago (2015-05-21 16:06:34 UTC) #3
Cutch
https://codereview.chromium.org/1150633002/diff/20001/runtime/vm/instructions_ia32.cc File runtime/vm/instructions_ia32.cc (right): https://codereview.chromium.org/1150633002/diff/20001/runtime/vm/instructions_ia32.cc#newcode58 runtime/vm/instructions_ia32.cc:58: const int* ProloguePattern::pattern() const { On 2015/05/21 16:06:33, srdjan ...
5 years, 7 months ago (2015-05-22 01:11:15 UTC) #4
Cutch
5 years, 7 months ago (2015-05-22 01:35:28 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
baa34257fc4fd554c64ffc44eb13febf15be3abf.

Powered by Google App Engine
This is Rietveld 408576698