Move some code from PDBFileBuilder to MSFBuilder.
authorZachary Turner <zturner@google.com>
Wed, 27 Jun 2018 21:18:15 +0000 (21:18 +0000)
committerZachary Turner <zturner@google.com>
Wed, 27 Jun 2018 21:18:15 +0000 (21:18 +0000)
commitee8010abe330d0889b4d211e936f4a9e3c97cafc
treee2c42d777e4468fa2893447e9f0de363197a8e77
parente214f046af3ae7313a1a868615e728233a00e3b7
Move some code from PDBFileBuilder to MSFBuilder.

The code to emit the pieces of the MSF file were actually in
PDBFileBuilder.  Move this to MSFBuilder so that we can
theoretically emit an MSF without having a PDB file.

llvm-svn: 335789
llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h
llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
llvm/include/llvm/Support/BinaryByteStream.h
llvm/lib/DebugInfo/MSF/MSFBuilder.cpp
llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp