commit | 2b7d147f1a916f26df6ee15ed0d54c30c7bede43 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Tue Mar 23 17:01:17 2010 -0700 |
committer | Russ Cox <rsc@golang.org> | Tue Mar 23 17:01:17 2010 -0700 |
tree | 975c81a35455346620a3ef101dacf2d6c7cb453a | |
parent | 32c39fa1b7dd8601addc0e7e80ce6004703834c6 [diff] [blame] |
runtime: add Callers cut copies of traceback from 6 to 1. R=r CC=golang-dev https://golang.org/cl/703041
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 194503e..622f680 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h
@@ -407,6 +407,7 @@ void siginit(void); bool sigsend(int32 sig); void gettime(int64*, int32*); +int32 callers(int32, uintptr*, int32); int64 nanotime(void); #pragma varargck argpos printf 1