-
Notifications
You must be signed in to change notification settings - Fork 109
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
Every DebugStr has an offset of 0 in simple example #530
Comments
The simple example doesn't handle relocations, so all relocatable offsets will be handled as if they are zero. This is only affects object files and not linked executables and libraries, as for those the debug info relocations are resolved by the linker. |
...oops. Should I just copy |
You also need to use the |
That worked, thanks! Should this be documented somewhere? |
If you can point to a good spot to document it where you would have found it. |
A comment in |
I ran into this exact same thing years later, and agree that that comment would have saved me a lot of debugging. :) |
I'm changing object and gimli to make it easier to handle relocations, and I'll update the example to use it. |
This is really strange, and it doesn't affect the dwarfdump example despite the fact that I can't find any difference between what they do...
simple.txt
obj.zip
The text was updated successfully, but these errors were encountered: