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

Issue 131853006: Fix debugger stub patching on x64 architecture (Closed)

Created:
6 years, 11 months ago by hausner
Modified:
6 years, 11 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix debugger stub patching on x64 architecture Instead of patching the entry in the object pool, patch the offset into the pool at the call site. SIMARM and SIMMIPS will have to be fixed the same way in a later change. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=31812

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -78 lines) Patch
M runtime/vm/assembler_x64.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher_arm.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher_ia32.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher_mips.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/code_patcher_x64.cc View 1 2 3 2 chunks +49 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 4 chunks +9 lines, -74 lines 0 comments Download
M runtime/vm/debugger_arm.cc View 1 2 3 2 chunks +67 lines, -0 lines 0 comments Download
M runtime/vm/debugger_ia32.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M runtime/vm/debugger_mips.cc View 1 2 3 2 chunks +67 lines, -0 lines 0 comments Download
M runtime/vm/debugger_x64.cc View 1 2 3 2 chunks +76 lines, -0 lines 0 comments Download
M runtime/vm/instructions_x64.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/instructions_x64.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ivan Posva
https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_ia32.cc File runtime/vm/code_patcher_ia32.cc (right): https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_ia32.cc#newcode224 runtime/vm/code_patcher_ia32.cc:224: UNIMPLEMENTED(); This should be UNREACHABLE() as the ia32 assembler ...
6 years, 11 months ago (2014-01-14 22:12:38 UTC) #1
hausner
PTAL. Comments addressed and debugging printfs removed. https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_ia32.cc File runtime/vm/code_patcher_ia32.cc (right): https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_ia32.cc#newcode224 runtime/vm/code_patcher_ia32.cc:224: UNIMPLEMENTED(); On ...
6 years, 11 months ago (2014-01-14 22:49:40 UTC) #2
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_x64.cc File runtime/vm/code_patcher_x64.cc (right): https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_x64.cc#newcode166 runtime/vm/code_patcher_x64.cc:166: uint32_t pp_offset() const { On 2014/01/14 22:49:41, ...
6 years, 11 months ago (2014-01-14 23:09:14 UTC) #3
hausner
Comment addressed and build issues fixed. https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_x64.cc File runtime/vm/code_patcher_x64.cc (right): https://codereview.chromium.org/131853006/diff/1/runtime/vm/code_patcher_x64.cc#newcode166 runtime/vm/code_patcher_x64.cc:166: uint32_t pp_offset() const ...
6 years, 11 months ago (2014-01-14 23:26:19 UTC) #4
hausner
Committed patchset #5 manually as r31812 (presubmit successful).
6 years, 11 months ago (2014-01-14 23:27:22 UTC) #5
Florian Schneider
6 years, 11 months ago (2014-01-16 10:47:58 UTC) #6
Message was sent while issue was closed.
On 2014/01/14 23:27:22, hausner wrote:
> Committed patchset #5 manually as r31812 (presubmit successful).

Is there any regression test for this bug fix?

Powered by Google App Engine
This is Rietveld 408576698