diff options
| author | Carl Shapiro <cshapiro@google.com> | 2013-03-04 19:48:50 -0800 |
|---|---|---|
| committer | Carl Shapiro <cshapiro@google.com> | 2013-03-04 19:48:50 -0800 |
| commit | db018bf77cba282220d852f19203570ae5e87c37 (patch) | |
| tree | f7cfbcc66256ceb35f38632d08d79528245198f6 /src/pkg/runtime/proc.c | |
| parent | 6a752520886de9acae09081cb89c0300f33d949a (diff) | |
| download | go-db018bf77cba282220d852f19203570ae5e87c37.tar.xz | |
runtime: restrict stack root scan to locals and arguments
R=rsc
CC=golang-dev
https://golang.org/cl/7301062
Diffstat (limited to 'src/pkg/runtime/proc.c')
| -rw-r--r-- | src/pkg/runtime/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index 4ce0a718cd..2a47ce1e1f 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -1710,7 +1710,7 @@ runtime·sigprof(uint8 *pc, uint8 *sp, uint8 *lr, G *gp) runtime·unlock(&prof); return; } - n = runtime·gentraceback(pc, sp, lr, gp, 0, prof.pcbuf, nelem(prof.pcbuf)); + n = runtime·gentraceback(pc, sp, lr, gp, 0, prof.pcbuf, nelem(prof.pcbuf), nil, nil); if(n > 0) prof.fn(prof.pcbuf, n); runtime·unlock(&prof); |
