Skip to content

Conversation

@SEt-t
Copy link
Contributor

@SEt-t SEt-t commented Dec 10, 2025

Current Codeview implementation assumes there is only one actual code section and all line number information is pulled there. With support of comdat that assumption becomes incorrect, so proper generation of line number information table per code section is required.

Also solved an issue with incorrect relocation for symbol with the same name as some section.

New code assumes that coff_nsects doesn't change during generation of debug information.

After removal of cv8_output it seems there is now unused code/data in outcoff.c/pecoff.h that is not removed in this pull request. I can add the cleanup if they are indeed no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant