-
Notifications
You must be signed in to change notification settings - Fork 11.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
objdump -M no-aliases
doesn't work with --macho
#61019
Labels
Comments
@llvm/issue-subscribers-tools-llvm-objdump |
works without |
MaskRay
added a commit
to MaskRay/llvm-project
that referenced
this issue
Oct 27, 2024
--macho -d uses the `parseInputMachO` code path, which does not handle -M. Add -M handling for --macho as well. Close llvm#61019
NoumanAmir657
pushed a commit
to NoumanAmir657/llvm-project
that referenced
this issue
Nov 4, 2024
--macho -d uses the `parseInputMachO` code path, which does not handle -M. Add -M handling for --macho as well. Close llvm#61019 Pull Request: llvm#113795
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compile this trivial AArch64 program
like this
as main.s -o main.o ld -o main -lSystem -syslibroot `xcrun -sdk macosx --show-sdk-path` main.o
then run objdump on it:
The last command (
objdump -d --macho -M no-aliases main
) outputsmov
instead oforr
.I'm on an M1 Macbook Air, macOS 13.2.1, Xcode version 14.1 (14B47b)
See below/HelloSilicon#43 for details.
The text was updated successfully, but these errors were encountered: