Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6911)

Issue 71030043: code review 71030043: runtime: fix traceback on Windows (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by rsc
Modified:
10 years, 1 month ago
Reviewers:
brainman, khr
CC:
golang-codereviews
Visibility:
Public.

Description

runtime: fix traceback on Windows The exception handler runs on the ordinary g stack, and the stack copier is now trying to do a traceback across it. That's never been needed before, so it was unimplemented. Implement it, in all its ugliness. Fixes windows/amd64 build.

Patch Set 1 #

Patch Set 2 : diff -r 361aac3d88a0 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 2b66d388d1af https://code.google.com/p/go/ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M src/pkg/runtime/traceback_x86.c View 1 2 chunks +49 lines, -0 lines 2 comments Download

Messages

Total messages: 5
rsc
Hello khr (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 1 month ago (2014-03-04 04:33:24 UTC) #1
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=d187b31342b5 *** runtime: fix traceback on Windows The exception handler runs on ...
10 years, 1 month ago (2014-03-04 04:33:31 UTC) #2
brainman
Thank you, Russ. Alex
10 years, 1 month ago (2014-03-04 05:22:40 UTC) #3
khr
LGTM. https://codereview.appspot.com/71030043/diff/40001/src/pkg/runtime/traceback_x86.c File src/pkg/runtime/traceback_x86.c (right): https://codereview.appspot.com/71030043/diff/40001/src/pkg/runtime/traceback_x86.c#newcode123 src/pkg/runtime/traceback_x86.c:123: return n; The stack copier will always return ...
10 years, 1 month ago (2014-03-04 20:21:44 UTC) #4
rsc
10 years, 1 month ago (2014-03-04 20:42:35 UTC) #5
Message was sent while issue was closed.
https://codereview.appspot.com/71030043/diff/40001/src/pkg/runtime/traceback_...
File src/pkg/runtime/traceback_x86.c (right):

https://codereview.appspot.com/71030043/diff/40001/src/pkg/runtime/traceback_...
src/pkg/runtime/traceback_x86.c:123: return n;
On 2014/03/04 20:21:45, khr wrote:
> The stack copier will always return here.  That means the rest of the code
below
> here never triggers, right?  Then it's effectively untested?

i guess so.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b