]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: report more than one instruction encoding error
authorRuss Cox <rsc@golang.org>
Fri, 22 Jan 2016 03:48:29 +0000 (22:48 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 24 Jan 2016 05:00:28 +0000 (05:00 +0000)
commit36edf48a1078f1a39f1299276354ecd3190f6837
tree3019c56713d0961866ee955cfc72d508f1810def
parenta5ba581ae05a857a7828c5a883fab0d73a89f26d
cmd/asm: report more than one instruction encoding error

Also, remove output file if there are encoding errors.
The extra reports are convenient.
Removing the output file is very important.
Noticed while testing.

Change-Id: I0fab17d4078f93c5a0d6d1217d8d9a63ac789696
Reviewed-on: https://go-review.googlesource.com/18845
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/asm/main.go
src/cmd/internal/obj/x86/asm6.go