diff options
| author | Michael Pratt <mpratt@google.com> | 2023-05-11 17:01:44 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-05-11 17:15:06 +0000 |
| commit | 96add980ad27faed627f26ef1ab09e8fe45d6bd1 (patch) | |
| tree | d6a62a078cd7e49cd341a6ba3bd7b3455433463c /src/runtime/export_test.go | |
| parent | 472f623482cdd7b89691d7dfe1c9e3d1c21ea538 (diff) | |
| download | go-96add980ad27faed627f26ef1ab09e8fe45d6bd1.tar.xz | |
Revert "runtime: rename getcallerfp to getfp"
This reverts CL 481617.
Reason for revert: breaks test build on Windows
Change-Id: Ifc1a323b0cc521e7a5a1f7de7b3da667f5fee375
Reviewed-on: https://go-review.googlesource.com/c/go/+/494377
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/export_test.go')
| -rw-r--r-- | src/runtime/export_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go index bd230c0476..07d14591a6 100644 --- a/src/runtime/export_test.go +++ b/src/runtime/export_test.go @@ -1820,5 +1820,5 @@ func PersistentAlloc(n uintptr) unsafe.Pointer { // FPCallers works like Callers and uses frame pointer unwinding to populate // pcBuf with the return addresses of the physical frames on the stack. func FPCallers(skip int, pcBuf []uintptr) int { - return fpTracebackPCs(unsafe.Pointer(getfp()), skip, pcBuf) + return fpTracebackPCs(unsafe.Pointer(getcallerfp()), skip, pcBuf) } |
