Here is my implementation plan for this project.
Until now, I've worked on the following things.
- Addressed code review comments by @compnerd for apple/swift#31146 and spent much time on retrying CI.
- Reading LLD and Swift codebase to get a deeper understanding of each architecture.
- Start implementing libswiftLTO pipeline (WIP)
I'm spending much time to investigate which information in ASTContext is required after SILGen.
Since ASTContext is used through the compiler process, it has so much information. But LTO plugin is used in linker process, so it can't derive ASTContext state from the compiler process and needs to create and setup ASTContext again.
For this reason, I'm investigating which information in ASTContext should be serialized in SIB.