-
Notifications
You must be signed in to change notification settings - Fork 156
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
Support reading thin archives #648
Comments
#651 has thin archive support. What do you need for symbol table support? The symbol table contains a list of member offsets and symbol names. I can provide an iterator that returns those, and an |
The symbol table of the original archives is not currently used by the archive writer in rustc. It unconditionally looks directly at the object files. So at least for now reading the symbol table is not necessary. |
I'll leave symbol table support for #479 |
This is necessary to fix rust-lang/rust#107407 and allow moving rustc from LLVM's archive writer to ar_archive_writer again. The api for this should probably not directly read the member contents from the disk, but only parse the thin archive to get the member names (and optionally read the symbol table) to allow the consumer of this api to read them from the disk as necessary.
The text was updated successfully, but these errors were encountered: