We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Please answer these questions before submitting your issue. Thanks!
go version
tip go version devel +70f441bc49 Wed Dec 6 19:27:26 2017 +0000 linux/amd64
yes
go env
GOHOSTARCH="amd64" GOHOSTOS="linux"
Compile this program:
Examine the generated DWARF for the inlined routine "cand". Both parameters share the same abstract origin, which should never happen.
<3><3232c>: Abbrev Number: 17 (DW_TAG_formal_parameter) <3232d> DW_AT_abstract_origin: <0x3229b> <32331> DW_AT_location : 2 byte block: 91 60 (DW_OP_fbreg: -32) <3><32334>: Abbrev Number: 17 (DW_TAG_formal_parameter) <32335> DW_AT_abstract_origin: <0x3229b> <32339> DW_AT_location : 2 byte block: 91 68 (DW_OP_fbreg: -24)
A complete runnable program is good. A link on play.golang.org is best.
Different abstract origins.
Both params have abstract originl 0x3229b. The code that assigns it is buggy.
The text was updated successfully, but these errors were encountered:
FYI, this bug will impact user experience in GDB, but will not cause any crashes or other unpleasant runtime behavior, just to be clear.
Sorry, something went wrong.
Change https://golang.org/cl/82396 mentions this issue: cmd/compile: fix bug in logic for computing var abstract origins
cmd/compile: fix bug in logic for computing var abstract origins
The program seems missing...
Apologies-- "paste" apparently didn't go through. Here is the playground link:
https://play.golang.org/p/BIf78rGlOI
692f2e9
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?tip
go version devel +70f441bc49 Wed Dec 6 19:27:26 2017 +0000 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOHOSTOS="linux"
What did you do?
Compile this program:
Examine the generated DWARF for the inlined routine "cand". Both parameters share the same abstract origin, which should never happen.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
Different abstract origins.
What did you see instead?
Both params have abstract originl 0x3229b. The code that assigns it is buggy.
The text was updated successfully, but these errors were encountered: