]> Cypherpunks repositories - gostls13.git/commit
runtime: convert symtab.c into symtab.go
authorRuss Cox <rsc@golang.org>
Wed, 3 Sep 2014 17:02:48 +0000 (13:02 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 3 Sep 2014 17:02:48 +0000 (13:02 -0400)
commit97f8386af7907191cefbbfa26a3bd01c4ec95655
tree7c0fb064931669a113be5d07492c4b510dae7169
parent4930a8d0582d96d390339d2ca454ff8375bb535a
runtime: convert symtab.c into symtab.go

Because symtab.c was partially converted before,
the diffs are not terribly useful.

The earlier conversion was trying to refactor or
clean up the code in addition to doing the translation.
It also made a mistake by redefining Func to be something
users could overwrite.

I undid those changes, making symtab.go a more
literal line-for-line translation of symtab.c instead.

LGTM=josharian
R=golang-codereviews, dave, bradfitz, josharian
CC=golang-codereviews, iant, khr, r
https://golang.org/cl/140880043
src/pkg/runtime/error.go
src/pkg/runtime/extern.go
src/pkg/runtime/funcdata.h
src/pkg/runtime/runtime.c
src/pkg/runtime/string.go
src/pkg/runtime/stubs.go
src/pkg/runtime/symtab.c [deleted file]
src/pkg/runtime/symtab.go
src/pkg/runtime/traceback.go