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

Issue 153750044: code review 153750044: cmd/objdump: move armasm, x86asm into internal packages (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by rsc
Modified:
9 years, 6 months ago
Reviewers:
bradfitz
CC:
crawshaw, bradfitz, golang-codereviews
Visibility:
Public.

Description

cmd/objdump: move armasm, x86asm into internal packages For Go 1.3 these external packages were collapsed into large single-file implementations stored in the cmd/objdump directory. For Go 1.4 we want pprof to be able to link against them too, so move them into cmd/internal, where they can be shared. The new files are copied from the repo in the file path (rsc.io/...). Those repos were code reviewed during development (mainly by crawshaw and minux), because we knew the main repo would use them. Update issue 8798

Patch Set 1 #

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

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

Patch Set 4 : diff -r f804c5bc096d3a87bba0dd7ed74aae850b93873e https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35092 lines, -24625 lines) Patch
A src/cmd/internal/rsc.io/arm/armasm/Makefile View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/decode.go View 1 2 3 1 chunk +567 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/decode_test.go View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/ext_test.go View 1 2 3 1 chunk +614 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/gnu.go View 1 2 3 1 chunk +164 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/inst.go View 1 2 3 1 chunk +438 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/objdump_test.go View 1 2 3 1 chunk +258 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/objdumpext_test.go View 1 2 3 1 chunk +260 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/plan9x.go View 1 2 3 1 chunk +211 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/tables.go View 1 2 3 1 chunk +9448 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/testdata/Makefile View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/arm/armasm/testdata/decode.txt View 1 2 3 1 chunk +306 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/Makefile View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/decode.go View 1 2 3 1 chunk +1616 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/decode_test.go View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/ext_test.go View 1 2 3 1 chunk +811 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/gnu.go View 1 2 3 1 chunk +926 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/inst.go View 1 2 3 1 chunk +641 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/inst_test.go View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/intel.go View 1 2 3 1 chunk +518 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/objdump_test.go View 1 2 3 1 chunk +383 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/objdumpext_test.go View 1 2 3 1 chunk +314 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/plan9ext_test.go View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/plan9x.go View 1 2 3 1 chunk +346 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/plan9x_test.go View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/tables.go View 1 2 3 1 chunk +9760 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/testdata/Makefile View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/testdata/decode.txt View 1 2 3 1 chunk +6731 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/xed_test.go View 1 2 3 1 chunk +211 lines, -0 lines 0 comments Download
A src/cmd/internal/rsc.io/x86/x86asm/xedext_test.go View 1 2 3 1 chunk +206 lines, -0 lines 0 comments Download
R src/cmd/objdump/armasm.go View 1 2 3 1 chunk +0 lines, -10821 lines 0 comments Download
M src/cmd/objdump/main.go View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
R src/cmd/objdump/x86.go View 1 2 3 1 chunk +0 lines, -13800 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello crawshaw (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
9 years, 6 months ago (2014-09-30 15:50:40 UTC) #1
bradfitz
LGTM On Tue, Sep 30, 2014 at 8:50 AM, <rsc@golang.org> wrote: > Reviewers: crawshaw, > ...
9 years, 6 months ago (2014-09-30 15:53:50 UTC) #2
rsc
9 years, 6 months ago (2014-09-30 16:28:34 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=4d7888400e99 ***

cmd/objdump: move armasm, x86asm into internal packages

For Go 1.3 these external packages were collapsed into
large single-file implementations stored in the cmd/objdump
directory.

For Go 1.4 we want pprof to be able to link against them too,
so move them into cmd/internal, where they can be shared.

The new files are copied from the repo in the file path (rsc.io/...).
Those repos were code reviewed during development
(mainly by crawshaw and minux), because we knew the
main repo would use them.

Update issue 8798

LGTM=bradfitz
R=crawshaw, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/153750044
Sign in to reply to this message.

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