I'm trying to make LLD PDBs look more like Microsoft PDBs. While we can never be perfect, any small amount we can get closer saves a lot of time when debugging and adds confidence that our PDBs are "correct".
Currently I'm trying to create the list of modules in the same order that MSVC creates them. In order to do that, we need a little bit more info from an object file than just the name of its parent. So, rather than adding more and more fields to keep track of all this extra information, we can just store a pointer to the parent itself.
Currently there's no functional change here, we're just changing a StringRef to an ArchiveFile*. In subsequent patches I'll use this to sort the module list in the same order that link.exe does before writing the PDB.