]> Cypherpunks repositories - gostls13.git/commit
cmd/link: fix name section of WebAssembly binary
authorRichard Musiol <mail@richard-musiol.de>
Thu, 14 Jun 2018 17:22:55 +0000 (19:22 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 15 Jun 2018 02:09:44 +0000 (02:09 +0000)
commit4eb1c84752b8d3171be930abf4281080d639f634
tree5618054b9892003cc9ad60005170763bec3c11d5
parent2809b339b5da46529f3f4529379391f8dd8e3525
cmd/link: fix name section of WebAssembly binary

Chrome and Node.js were not showing the names of WebAssembly
functions any more. This was due to the name section containing
names also for import functions, which is redundant.

Change-Id: I2f2b2d0b5bd7a59b34f108d2fd7b6ba2eb26f9c9
Reviewed-on: https://go-review.googlesource.com/118976
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/link/internal/wasm/asm.go