]> Cypherpunks repositories - gostls13.git/commit
runtime: convert a few traceback-related functions from proc.c to traceback.go
authorRuss Cox <rsc@golang.org>
Wed, 3 Sep 2014 15:11:16 +0000 (11:11 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 3 Sep 2014 15:11:16 +0000 (11:11 -0400)
commit7ba41e99728d9a4545361ddfd834a473b424bbb6
treea89e1cb6c37f9dec5bb52af620cd4e892ab0bf85
parent0e07f1c99f7ba8f657eaab49bfe106abddbe93a9
runtime: convert a few traceback-related functions from proc.c to traceback.go

They were in proc.c mainly because there was no portable
traceback source file. As part of converting them to Go,
move to traceback.go.

In order to get access to the PC of _rt0_go,
rename to runtime.rt0_go.

LGTM=r
R=golang-codereviews, r
CC=dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/139110043
33 files changed:
src/cmd/api/goapi.go
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_amd64p32.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/proc.c
src/pkg/runtime/rt0_darwin_386.s
src/pkg/runtime/rt0_darwin_amd64.s
src/pkg/runtime/rt0_dragonfly_386.s
src/pkg/runtime/rt0_dragonfly_amd64.s
src/pkg/runtime/rt0_freebsd_386.s
src/pkg/runtime/rt0_freebsd_amd64.s
src/pkg/runtime/rt0_freebsd_arm.s
src/pkg/runtime/rt0_linux_386.s
src/pkg/runtime/rt0_linux_amd64.s
src/pkg/runtime/rt0_linux_arm.s
src/pkg/runtime/rt0_nacl_386.s
src/pkg/runtime/rt0_nacl_amd64p32.s
src/pkg/runtime/rt0_nacl_arm.s
src/pkg/runtime/rt0_netbsd_386.s
src/pkg/runtime/rt0_netbsd_amd64.s
src/pkg/runtime/rt0_netbsd_arm.s
src/pkg/runtime/rt0_openbsd_386.s
src/pkg/runtime/rt0_openbsd_amd64.s
src/pkg/runtime/rt0_plan9_386.s
src/pkg/runtime/rt0_plan9_amd64.s
src/pkg/runtime/rt0_solaris_amd64.s
src/pkg/runtime/rt0_windows_386.s
src/pkg/runtime/rt0_windows_amd64.s
src/pkg/runtime/runtime.h
src/pkg/runtime/stubs.go
src/pkg/runtime/traceback.go
src/pkg/runtime/traceback_windows.go