Reproduce: go install -race cmd/compile, compilebench -run=SSA -cpuprofile=c, go tool pprof -lines $(go tool -n compile) c.
Result: entries like __tsan_read :-134217728. That's no filename, line number underflow. Ideally it'd refer to the place where the symbol was defined. We have the position information as we enter pragcgo in the compiler, but it never gets recorded in pragcgobuf. Not sure how much work would be required to thread it through from there.
The text was updated successfully, but these errors were encountered:
Hello @josharian unfortunately we didn't get to work on this for Go1.12 but moving this to Go1.13. It would be great if perhaps you could craft up a standalone reproduction for this issue (sure you posted up steps for how to reproduce this with a presumed setup but it would be great for anyone to pickup code, inputs and expectations). Thank you.