]> Cypherpunks repositories - gostls13.git/commit
runtime: allow the Go runtime to return multiple stack frames for a single PC
authorKeith Randall <khr@google.com>
Mon, 16 Sep 2019 21:38:12 +0000 (14:38 -0700)
committerKeith Randall <khr@golang.org>
Mon, 23 Sep 2019 16:50:00 +0000 (16:50 +0000)
commita14efb1be3a59dffbf4dd9121191d6d656049564
tree495e090dede94f044caa36cd3169e76806772816
parent870080752d175d5cede350486acf36213c64f35c
runtime: allow the Go runtime to return multiple stack frames for a single PC

Upgrade the thread sanitizer to handle mid-stack inlining correctly.
We can now return multiple stack frames for each pc that the thread sanitizer
gives us to symbolize.

To fix #33309, we still need to modify the tsan library with its portion
of this fix, rebuild the .syso files on all supported archs, and check
them into runtime/race.

Update #33309

Change-Id: I340013631ffc8428043ab7efe3a41b6bf5638eaf
Reviewed-on: https://go-review.googlesource.com/c/go/+/195781
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/runtime/race.go
src/runtime/symtab.go