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

[lld-macho] Split symbol table initialization and resolution; cache InputFile::symbols for --start-lib #53104

Open
MaskRay opened this issue Jan 10, 2022 · 1 comment

Comments

@MaskRay
Copy link
Member

MaskRay commented Jan 10, 2022

Symbol table initialization (populating InputFile::symbol[*]) is easier to parallelize than symbol resolution.

See https://reviews.llvm.org/D62188 https://reviews.llvm.org/D62290 from ELF.

Then, in the --start-lib (#52931) state, InputFile::symbols can be saved to be reused by non-lazy ObjFile::parse BitcodeFile::parse (see D116390).

Future direction: introduce a mode to do eager parsing. The prerequisite is to replace ArchiveFile with lazy ObjFile/BitcodeFile.

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 10, 2022

@llvm/issue-subscribers-lld-MachO

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

No branches or pull requests

2 participants