The age has to be written in two places and the two values have to agree with each other. Prior to this change, when I ran llvm-pdbdump raw -all on a PDB generated with lld it would error out. This patch fixes that. Now when I link two trivial object files with LLD and dump the resulting PDB, I get actual data. So far it only prints the section contents, but I'll look into getting symbol and type information in next.
Diff Detail
Diff Detail