Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: bad pcln association for calls to race.funcenter when compiling with -race and -gcflags '-N -l' #22600
main function is compiled to:
it doesn't make sense that the call to runtime.racefuncenter would be associated to workdir.go:14.
Binary import sometimes constructs nodes using functions that use the global lineno for the Position. This causes spurious numbers to appear in the assembly and the debugging output. Fix (targeted, because late in the cycle): save and restore lineno around bimport calls known to use lineno-sensitive functions. Updates #22600. (Comment: "This is a weird line to step through") Change-Id: I9c4094670380609fe4b6696443fb02579521c596 Reviewed-on: https://go-review.googlesource.com/80115 Run-TryBot: David Chase <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Matthew Dempsky <firstname.lastname@example.org>