Previously, when linking against "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/lib/libcmt.lib", lld-link.exe /verbose shows the following warning multiple times:
"ignoring unknown symbol record with kind 0x1106"
With the enclosed patch the warning is gone and pdb2yaml now properly shows S_REGISTER entries.
This should be called Reg.