[codeview] Use the correct max CV record length of 0xFF00
authorReid Kleckner <rnk@google.com>
Fri, 2 Sep 2016 18:43:27 +0000 (18:43 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 2 Sep 2016 18:43:27 +0000 (18:43 +0000)
commitfa28396f97cc16d518f711a5c5f4bcf500e14ff2
treeb2638a7035036e8ac8401f825584d4271e797eb4
parentbcdcbd11ba68649eb9c7579d7002f36907d3b9a9
[codeview] Use the correct max CV record length of 0xFF00

Previously we were splitting our records at 0xFFFF bytes, which the
Microsoft tools don't like.

Should fix failure on the new Windows self-host buildbot.

This length appears in microsoft-pdb/PDB/dbi/dbiimpl.h

llvm-svn: 280522
llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h
llvm/lib/DebugInfo/CodeView/ListRecordBuilder.cpp
llvm/test/DebugInfo/COFF/big-type.ll