This patch changes the bucket count for the TPI and IPI streams in PDBs generated via LLVM from the minimum value to the maximum value. Changing this value improves symbol lookup for PDBs with large numbers of entries in the TPI and IPI streams.
In the microsoft-pdb repro published to support LLVM implementing PDB support, the provided code initializes the bucket count for the TPI and IPI streams to the maximum size. This occurs in tpi.cpp L33 and tpi.cpp L398. In the LLVM code for generating PDBs, these streams are created with minimum number of buckets. This difference makes LLVM generated PDBs slower for when used for debugging.