-
Notifications
You must be signed in to change notification settings - Fork 18k
x/arch/x86: objdump cannot decode AVX instructions #69792
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
Milestone
Comments
Change https://go.dev/cl/618036 mentions this issue: |
Output with the linked PR:
|
Perhaps this is a duplicate of #47307 ? |
This is similar to #47307. Closing as a dup. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go version
go version go1.23.1 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Running
go tool objdump
on a go binary cannot decode functions containing AVX instructions, for example when running objdump on a simple go binary built from this source code:What did you see happen?
Building a amd64 binary using the above source code and running
go tool objdump -s indexbytebody ./main
outputs disassembled version ofinternal/bytealg/indexbyte_amd64.s
, which contains (snip):even though the source code contains:
go/src/internal/bytealg/indexbyte_amd64.s
Lines 121 to 133 in 2f50798
What did you expect to see?
The disassembled code should match the source code
The text was updated successfully, but these errors were encountered: