Skip to content
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

Skip the EC Symbol Map when parsing COFF archives #669

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

dpaoliello
Copy link
Contributor

Arm64EC introduced a new special member in COFF called /<ECSYMBOL>/ which contains the symbol table for EC-specific symbols: https://github.com/llvm/llvm-project/blob/1aceee7bb6c4423da73f71aff2004493bdf620d1/llvm/lib/Object/ArchiveWriter.cpp#L647

When parsing an archive, object should skip over this member.

@philipc
Copy link
Contributor

philipc commented Apr 12, 2024

Is this related to the change in #657? I guess before it would have returned an empty name for this?

@philipc philipc merged commit 9398058 into gimli-rs:master Apr 12, 2024
10 checks passed
@dpaoliello dpaoliello deleted the ecsymbols branch April 12, 2024 16:34
@dpaoliello
Copy link
Contributor Author

Is this related to the change in #657? I guess before it would have returned an empty name for this?

No, not related: with or without #657, this is a special member automatically generated by the archiver which should have been skipped, but I missed doing this with my initial Arm64EC support because I didn't realize that object supported reading archives.

mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
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.

2 participants