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

Issue 132610043: runtime: allow traceback to trace to caller of invalid onM

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by rsc
Modified:
11 years, 1 month ago
Reviewers:
Visibility:
Public.

Description

runtime: allow traceback to trace to caller of invalid onM onM is the top-of-stack frame on the g0 stack: if the traceback sees it, it assumes we're reached the top of the stack and do not need to trace back any further. Turn calls that did not switch to the g0 stack into jumps, so that the traceback does not see onM and therefore does not stop. I hope this will let me see what is calling onM on the signal stack on the freebsd/amd64 builder. Right now it just shows throw called from badonm called from onM and then stops.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -11 lines) Patch
M src/pkg/runtime/asm_386.s View 1 2 chunks +5 lines, -4 lines 0 comments Download
M src/pkg/runtime/asm_amd64.s View 1 2 chunks +5 lines, -4 lines 0 comments Download
M src/pkg/runtime/asm_arm.s View 1 2 chunks +9 lines, -3 lines 0 comments Download

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