This fix allows tsan to report stack traces correctly even in the
presence of mid-stack inlining by the Go compiler.
See https://go-review.googlesource.com/c/go/+/195781 for the Go runtime side of this change.
Differential D67671
compiler-rt/lib/tsan: allow the Go runtime to return multiple stack frames for a single PC randall77 on Sep 17 2019, 10:57 AM. Authored by
Details This fix allows tsan to report stack traces correctly even in the See https://go-review.googlesource.com/c/go/+/195781 for the Go runtime side of this change.
Diff Detail Event TimelineComment Actions Besides the nits, are you sure we reconstruct the list in the right order? :)
Comment Actions Yes, I tested that frames end up in the right order. I will work on some tests on the Go side. Comment Actions Perfect! |
space before (
and generally do for (;;) for this, at least in tsan code