New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/compile: bad pcln association for calls to race.funcenter when compiling with -race and -gcflags '-N -l' #22600
Labels
Comments
aarzilli
added a commit
to aarzilli/delve
that referenced
this issue
Nov 10, 2017
Adds test command line flag to compile target fixtures using the -race flag. Multiple tests will fail because of golang/go#22600 but eventually this should work.
aarzilli
added a commit
to aarzilli/delve
that referenced
this issue
Nov 10, 2017
Adds test command line flag to compile target fixtures using the -race flag. Multiple tests will fail because of golang/go#22600 but eventually this should work.
derekparker
pushed a commit
to go-delve/delve
that referenced
this issue
Nov 15, 2017
Adds test command line flag to compile target fixtures using the -race flag. Multiple tests will fail because of golang/go#22600 but eventually this should work.
cc @heschik @hyangah |
@dr2chase is looking into these issues. |
Change https://golang.org/cl/78336 mentions this issue: |
Change https://golang.org/cl/80115 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Nov 28, 2017
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 <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Given:
main function is compiled to:
it doesn't make sense that the call to runtime.racefuncenter would be associated to workdir.go:14.
The text was updated successfully, but these errors were encountered: