Documentation bug here:
https://llvm.org/docs/PDB/MsfFile.html
Documentation says:
FileMagic - Must be equal to "Microsoft C / C++ MSF 7.00\r\n" followed by the bytes 1A 44 53 00 00 00.
In reality, the FileMagic string has no space before and after the slash. So the documentation should say this:
FileMagic - Must be equal to "Microsoft C/C++ MSF 7.00\r\n" followed by the bytes 1A 44 53 00 00 00.
Here's the raw data as seen in a debugger for a real world pdb made by Visual C++:
(const char*)pdb,32 | 0x00000215bb710000 "Microsoft C/C++ MSF 7.00\r\n\x1aDS\0\0\0\0"