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

Issue 2194383007: Port some more code to x64 (Closed)

Created:
4 years, 4 months ago by Ignat Loskutov
Modified:
4 years, 4 months ago
CC:
syzygy-changes_googlegroups.com
Base URL:
git@github.com:google/syzygy.git@master
Target Ref:
refs/heads/master
Project:
syzygy
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Merge the stack walkers' definitions and implementations; add a more accurate cast for stack captur… #

Patch Set 3 : Add a notice about the SSE2-related issues. #

Total comments: 1

Patch Set 4 : Fix type mismatch #

Total comments: 1

Patch Set 5 : Fix MSVS disabled warnings list. #

Patch Set 6 : Fix the stack_walker unittest #

Patch Set 7 : Rename the stack_walker unittest and fix the x86-64 implementation of stack_walker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -612 lines) Patch
M syzygy/agent/common/agent.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M syzygy/agent/common/common.gyp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M syzygy/agent/common/hot_patcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M syzygy/agent/common/stack_capture.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M syzygy/agent/common/stack_capture.cc View 1 chunk +1 line, -1 line 0 comments Download
A + syzygy/agent/common/stack_walker.h View 1 5 chunks +17 lines, -11 lines 0 comments Download
A + syzygy/agent/common/stack_walker.cc View 1 2 3 4 5 6 4 chunks +23 lines, -5 lines 0 comments Download
A + syzygy/agent/common/stack_walker_unittest.cc View 1 2 3 4 5 6 11 chunks +20 lines, -13 lines 0 comments Download
D syzygy/agent/common/stack_walker_x86.h View 1 1 chunk +0 lines, -114 lines 0 comments Download
D syzygy/agent/common/stack_walker_x86.cc View 1 1 chunk +0 lines, -186 lines 0 comments Download
M syzygy/agent/common/stack_walker_x86_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -271 lines 0 comments Download
M syzygy/syzygy.gypi View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/pcre/pcre.gyp View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
Ignat Loskutov
PTAL
4 years, 4 months ago (2016-08-02 22:11:04 UTC) #2
chrisha
How about moving stack_walker_x86.h to stack_walker.h, and simply precompiler hiding things that aren't generic? And ...
4 years, 4 months ago (2016-08-03 17:40:06 UTC) #3
Sébastien Marchand
In think that I'd prefer having only a pair of stack_walker.h/cc files with some ifdef ...
4 years, 4 months ago (2016-08-03 17:58:28 UTC) #4
Ignat Loskutov
Fixed.
4 years, 4 months ago (2016-08-03 18:51:50 UTC) #5
Sébastien Marchand
https://codereview.chromium.org/2194383007/diff/40001/syzygy/agent/common/stack_walker.cc File syzygy/agent/common/stack_walker.cc (right): https://codereview.chromium.org/2194383007/diff/40001/syzygy/agent/common/stack_walker.cc#newcode102 syzygy/agent/common/stack_walker.cc:102: size_t __declspec(noinline) WalkStack(size_t bottom_frames_to_skip, You need to update this ...
4 years, 4 months ago (2016-08-04 13:30:52 UTC) #6
Ignat Loskutov
Fixed.
4 years, 4 months ago (2016-08-04 14:58:02 UTC) #7
Sébastien Marchand
lgtm with one nit. https://codereview.chromium.org/2194383007/diff/60001/third_party/pcre/pcre.gyp File third_party/pcre/pcre.gyp (right): https://codereview.chromium.org/2194383007/diff/60001/third_party/pcre/pcre.gyp#newcode100 third_party/pcre/pcre.gyp:100: 'AdditionalOptions': ['/wd4267', '/wd4130', '/wd4018', '/wd4189', ...
4 years, 4 months ago (2016-08-04 18:26:32 UTC) #8
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/2194383007/80001
4 years, 4 months ago (2016-08-04 18:57:01 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_dbg_try on master.tryserver.client.syzygy (JOB_FAILED, https://build.chromium.org/p/tryserver.client.syzygy/builders/win_dbg_try/builds/544)
4 years, 4 months ago (2016-08-04 19:08:13 UTC) #13
Ignat Loskutov
Fixed the compilation error. The name of stack_walker_x86_unittest.cc looks inconsistent with stack_walker.cc, but it can ...
4 years, 4 months ago (2016-08-04 19:48:49 UTC) #14
Sébastien Marchand
Is there some unittests that can be shared between the 2 versions ? If not ...
4 years, 4 months ago (2016-08-04 19:50:33 UTC) #15
Ignat Loskutov
Shared a unittest (which actually compares the implementation with itself for x64, still helped to ...
4 years, 4 months ago (2016-08-04 21:13:43 UTC) #20
Sébastien Marchand
lgtm, it'll help with the win64 coverage.
4 years, 4 months ago (2016-08-04 21:15:24 UTC) #21
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/2194383007/120001
4 years, 4 months ago (2016-08-04 21:17:30 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 22:04:11 UTC) #25
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/google/syzygy/commit/7e7fbfbb43d76faca0cc9ea6f5de7255345fc4c7

Powered by Google App Engine
This is Rietveld 408576698