llvm-project
9f733f43 - [LLD][COFF] Make /wholearchive thin-archive member identifiers consistent (#145487)

Commit
69 days ago
[LLD][COFF] Make /wholearchive thin-archive member identifiers consistent (#145487) A thin archive is an archive/library format where the archive itself contains only references to member object files on disk, rather than embedding the file contents. For the non-/wholearchive case, we use the path to the archive member as the identifier for thin-archive members (see comments in `enqueueArchiveMember`). This patch modifies the /wholearchive path to behave the same way. Apart from consistency, my motivation for fixing this is DTLTO (#126654), where having the member identifier be the path on disk allows distribution of bitcode members during ThinLTO.
Author
Parents
Loading