]> Cypherpunks repositories - gostls13.git/commit
runtime: convert traceback*.c to Go
authorRuss Cox <rsc@golang.org>
Tue, 2 Sep 2014 19:12:53 +0000 (15:12 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 2 Sep 2014 19:12:53 +0000 (15:12 -0400)
commitfa2af441f1d7f2daccf40e1e350e8a8bfdcfb9e8
tree2595445d11d3cb30ff2a2a054178d8311fc7919d
parent8e89f87158eb364330e4334d7084e290e07c66a8
runtime: convert traceback*.c to Go

The two converted files were nearly identical.
Instead of continuing that duplication, I merged them
into a single traceback.go.

Tested on arm, amd64, amd64p32, and 386.

LGTM=r
R=golang-codereviews, remyoudompheng, dave, r
CC=dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/134200044
14 files changed:
src/cmd/api/goapi.go
src/pkg/runtime/extern.go
src/pkg/runtime/heapdump.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mprof.go
src/pkg/runtime/os_windows_386.go [new file with mode: 0644]
src/pkg/runtime/os_windows_amd64.go [new file with mode: 0644]
src/pkg/runtime/runtime.h
src/pkg/runtime/stack.c
src/pkg/runtime/stubs.go
src/pkg/runtime/traceback.go [new file with mode: 0644]
src/pkg/runtime/traceback_arm.c [deleted file]
src/pkg/runtime/traceback_windows.go [new file with mode: 0644]
src/pkg/runtime/traceback_x86.c [deleted file]