diff options
Diffstat (limited to 'src/runtime/trace.go')
| -rw-r--r-- | src/runtime/trace.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/trace.go b/src/runtime/trace.go index 125b8678db..a4d50d77a0 100644 --- a/src/runtime/trace.go +++ b/src/runtime/trace.go @@ -1345,6 +1345,7 @@ func fpunwindExpand(pcBuf []uintptr) []uintptr { } var ( + cache pcvalueCache lastFuncID = abi.FuncIDNormal newPCBuf = make([]uintptr, 0, traceStackSize) skip = pcBuf[0] @@ -1373,7 +1374,7 @@ outer: continue } - u, uf := newInlineUnwinder(fi, callPC) + u, uf := newInlineUnwinder(fi, callPC, &cache) for ; uf.valid(); uf = u.next(uf) { sf := u.srcFunc(uf) if sf.funcID == abi.FuncIDWrapper && elideWrapperCalling(lastFuncID) { |
