-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add support for DWARF debug info #37
Comments
Great! Thanks!
Do you know if we need to split the sections then GC the parts of the sections that are for functions that get GCed? I had to do that with the If you don't need to split the sections up and you also don't want relocations in those sections to prevent other things from being GCed, then you can possibly skip reading the relocations for those sections during the layout phase. e.g
If you need to refer to the sections from code - e.g. if you need special logic for a particular section, then yes. Making the sections "regular" sections means that they'll be split by alignment. I guess if a particular section needs to only ever have one particular alignment, then we could use a "generated" section - although it'd make the name "generated" slightly less appropriate. If you don't need special logic for debug sections, or if the only special logic is that you want to not process the relocations during the layout (GC) phase, then you could add a field on |
No, for debug info sections, we'll only need to make the relocation resolution (with exception of
Yep, that's how I understand it as debug info is never read by a dynamic linker. It's the consumer like
Ok, I'm going to start with the suggested approach. Thanks. |
Please close this as implemented. |
I'm not 100% sure what's involved here. I gather that eh_frame info, which we already support, is somewhat related to, or a more limited form of dwarf debug info.
The text was updated successfully, but these errors were encountered: