-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/go: test binary includes $WORK paths #3748
Labels
Comments
http://golang.org/cl/6357064/ fixing the problem for cgo binaries is not as easy and I'm looking into it. |
This issue was closed by revision df623d0. Status changed to Fixed. |
It might also be interesting to look at how Fedora works with debuginfos. You can build an RPM almost anywhere, but when you install the debuginfo RPM, the source always goes into /usr/src/whatever and you can set breakpoints accordingly. It would be nice it Go worked with this scheme. I think it mostly will, but cgo has the interesting property that some of the source that gets compiled into the binary only exists in the work directory and gets deleted. I haven't debugged a cgo binary recently, so I'm not sure what will happen with stack frames associated with this non-existent code? |
minux
added a commit
that referenced
this issue
May 11, 2015
««« backport c1ce95068533 cmd/go: remove $WORK paths in generated binaries Fixes #3748. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6357064 »»»
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by leterip:
The text was updated successfully, but these errors were encountered: