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

Issue 12163043: code review 12163043: cmd/gc: record argument size for all indirect function calls (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by dvyukov
Modified:
11 years, 8 months ago
Reviewers:
rsc
CC:
golang-dev, rsc
Visibility:
Public.

Description

cmd/gc: record argument size for all indirect function calls This is required to properly unwind reflect.methodValueCall/makeFuncStub. Fixes issue 5954. Stats for 'go install std': 61849 total INSTCALL 24655 currently have ArgSize metadata 27278 have ArgSize metadata with this change godoc size before: 11351888, after: 11364288

Patch Set 1 #

Patch Set 2 : diff -r d39481d8010a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r d39481d8010a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r d39481d8010a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r d39481d8010a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 6 : diff -r d39481d8010a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 7 : diff -r 475e11851fc1 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -5 lines) Patch
M src/cmd/5g/ggen.c View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M src/cmd/6g/ggen.c View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M src/cmd/8g/ggen.c View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M src/pkg/reflect/asm_386.s View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/reflect/asm_amd64.s View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/reflect/asm_arm.s View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/runtime/traceback_arm.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/traceback_x86.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 8 months ago (2013-07-31 13:21:16 UTC) #1
dvyukov
by "anonymous" I meant "indirect" On Wed, Jul 31, 2013 at 5:21 PM, <dvyukov@google.com> wrote: ...
11 years, 8 months ago (2013-07-31 14:03:06 UTC) #2
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 8 months ago (2013-07-31 14:06:11 UTC) #3
rsc
LGTM please update the CL description and comments to say indirect
11 years, 8 months ago (2013-07-31 15:20:44 UTC) #4
dvyukov
On 2013/07/31 15:20:44, rsc wrote: > LGTM > > please update the CL description and ...
11 years, 8 months ago (2013-07-31 15:24:58 UTC) #5
rsc
LGTM
11 years, 8 months ago (2013-07-31 15:26:37 UTC) #6
dvyukov
11 years, 8 months ago (2013-07-31 16:00:38 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=a68db2ccc3cb ***

cmd/gc: record argument size for all indirect function calls
This is required to properly unwind reflect.methodValueCall/makeFuncStub.
Fixes issue 5954.
Stats for 'go install std':
61849 total INSTCALL
24655 currently have ArgSize metadata
27278 have ArgSize metadata with this change
godoc size before: 11351888, after: 11364288

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/12163043
Sign in to reply to this message.

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