]> Cypherpunks repositories - gostls13.git/commit
runtime: use funcdata to supply garbage collection information
authorRuss Cox <rsc@golang.org>
Fri, 19 Jul 2013 20:04:09 +0000 (16:04 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 19 Jul 2013 20:04:09 +0000 (16:04 -0400)
commit48769bf546ba7ad830c2edc05656e217d15a20c8
treee3110fce615f1250f56a7c68d69ade5ad3ff3bbb
parent5d340de1f682d3b2cf10b2319c25ef3799e84078
runtime: use funcdata to supply garbage collection information

This CL introduces a FUNCDATA number for runtime-specific
garbage collection metadata, changes the C and Go compilers
to emit that metadata, and changes the runtime to expect it.

The old pseudo-instructions that carried this information
are gone, as is the linker code to process them.

R=golang-dev, dvyukov, cshapiro
CC=golang-dev
https://golang.org/cl/11406044
28 files changed:
src/cmd/5c/reg.c
src/cmd/5g/peep.c
src/cmd/5g/reg.c
src/cmd/5l/5.out.h
src/cmd/5l/l.h
src/cmd/5l/obj.c
src/cmd/5l/span.c
src/cmd/6c/reg.c
src/cmd/6g/peep.c
src/cmd/6g/reg.c
src/cmd/6l/6.out.h
src/cmd/6l/l.h
src/cmd/6l/obj.c
src/cmd/8c/reg.c
src/cmd/8g/peep.c
src/cmd/8g/reg.c
src/cmd/8l/8.out.h
src/cmd/8l/l.h
src/cmd/8l/obj.c
src/cmd/cc/pgen.c
src/cmd/gc/pgen.c
src/cmd/ld/lib.c
src/pkg/runtime/funcdata.h
src/pkg/runtime/mgc0.c
src/pkg/runtime/runtime.h
src/pkg/runtime/symtab.c
src/pkg/runtime/traceback_arm.c
src/pkg/runtime/traceback_x86.c