-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
[llvm-objdump/machO] Incorrect dumping of relative method offsets #104442
Labels
Comments
@llvm/issue-subscribers-tools-llvm-objdump Author: None (alx32)
`llvm-objdump` cannot dump method names (and other things) for MachO binaries built with relative method lists, if the MachO binary has a non-zero base address.
Repro:
The output will show that the method names are missing:
Using objdump from XCode we see what the issue might be:
So looks like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
llvm-objdump
cannot dump method names (and other things) for MachO binaries built with relative method lists, if the MachO binary has a non-zero base address.Repro:
The output will show that the method names are missing:
Using objdump from XCode we see what the issue might be:
So looks like
objdump
is trying to read from offset0x10000xxxx
and failing - because it's failing to adjust for the0x100000000
base offset.The text was updated successfully, but these errors were encountered: