Keith Randall
Keith Randall
…rames for a single PC This fix allows tsan to report stack traces correctly even in the presence of mid-stack inlining by the Go compiler. See https://github.com/golang/go/issues/33309
We want a PC in the call instruction, not the PC of the instruction just after the call instruction. (A more robust fix would be to move to runtime.CallersFrames, as...
``` package main import ( "reflect" "runtime" ) func f(n int) int { return n % 2 } func g(n int) int { return f(n) } func name(fn any) (res...
The map implementation changed in go1.24 and it broke this library. See https://github.com/golang/go/issues/71408 for an example. That breakage is a hard break, but there may be much more subtle problems...
In `transport/http/identity_test.go`, `TestIdentity` compares the result from `resolver.GetIdentity` with `&auth.AnonymousIdentity{}`. That test is fragile, as the behavior of comparing pointers to zero-sized objects (which `auth.AnonymousIdentity` is) is not guaranteed (https://go.dev/ref/spec#Comparison_operators,...