[msf] Create LLVMDebugInfoMsf
authorZachary Turner <zturner@google.com>
Fri, 22 Jul 2016 19:56:05 +0000 (19:56 +0000)
committerZachary Turner <zturner@google.com>
Fri, 22 Jul 2016 19:56:05 +0000 (19:56 +0000)
commitbac69d33d013a86277cf2acb9809819e1623c732
tree407e63a631bcc61579f375eb47394b145a48b46e
parentb8f95b5c6e77a36b5d5736cd167d244d64e53b87
[msf] Create LLVMDebugInfoMsf

This provides a better layering of responsibilities among different
aspects of PDB writing code.  Some of the MSF related code was
contained in CodeView, and some was in PDB prior to this.  Further,
we were often saying PDB when we meant MSF, and the two are
actually independent of each other since in theory you can have
other types of data besides PDB data in an MSF.  So, this patch
separates the MSF specific code into its own library, with no
dependencies on anything else, and DebugInfoCodeView and
DebugInfoPDB take dependencies on DebugInfoMsf.

llvm-svn: 276458
80 files changed:
llvm/include/llvm/DebugInfo/CodeView/CVRecord.h
llvm/include/llvm/DebugInfo/CodeView/CodeViewOStream.h [deleted file]
llvm/include/llvm/DebugInfo/CodeView/ModuleSubstream.h
llvm/include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h
llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
llvm/include/llvm/DebugInfo/Msf/ByteStream.h [moved from llvm/include/llvm/DebugInfo/CodeView/ByteStream.h with 86% similarity]
llvm/include/llvm/DebugInfo/Msf/DirectoryStreamData.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/DirectoryStreamData.h with 50% similarity]
llvm/include/llvm/DebugInfo/Msf/IMsfFile.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/IPDBFile.h with 77% similarity]
llvm/include/llvm/DebugInfo/Msf/IMsfStreamData.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/IPDBStreamData.h with 73% similarity]
llvm/include/llvm/DebugInfo/Msf/IndexedStreamData.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/IndexedStreamData.h with 50% similarity]
llvm/include/llvm/DebugInfo/Msf/MappedBlockStream.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h with 51% similarity]
llvm/include/llvm/DebugInfo/Msf/MsfBuilder.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/MsfBuilder.h with 90% similarity]
llvm/include/llvm/DebugInfo/Msf/MsfCommon.h [moved from llvm/include/llvm/DebugInfo/PDB/Raw/MsfCommon.h with 94% similarity]
llvm/include/llvm/DebugInfo/Msf/MsfError.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/Msf/StreamArray.h [moved from llvm/include/llvm/DebugInfo/CodeView/StreamArray.h with 97% similarity]
llvm/include/llvm/DebugInfo/Msf/StreamInterface.h [moved from llvm/include/llvm/DebugInfo/CodeView/StreamInterface.h with 90% similarity]
llvm/include/llvm/DebugInfo/Msf/StreamReader.h [moved from llvm/include/llvm/DebugInfo/CodeView/StreamReader.h with 82% similarity]
llvm/include/llvm/DebugInfo/Msf/StreamRef.h [moved from llvm/include/llvm/DebugInfo/CodeView/StreamRef.h with 83% similarity]
llvm/include/llvm/DebugInfo/Msf/StreamWriter.h [moved from llvm/include/llvm/DebugInfo/CodeView/StreamWriter.h with 84% similarity]
llvm/include/llvm/DebugInfo/PDB/Raw/DbiStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h
llvm/include/llvm/DebugInfo/PDB/Raw/InfoStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/ModInfo.h
llvm/include/llvm/DebugInfo/PDB/Raw/ModStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/NameHashTable.h
llvm/include/llvm/DebugInfo/PDB/Raw/NameMap.h
llvm/include/llvm/DebugInfo/PDB/Raw/PDBFile.h
llvm/include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h
llvm/include/llvm/DebugInfo/PDB/Raw/PublicsStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/SymbolStream.h
llvm/include/llvm/DebugInfo/PDB/Raw/TpiStream.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/LLVMBuild.txt
llvm/lib/DebugInfo/CMakeLists.txt
llvm/lib/DebugInfo/CodeView/CMakeLists.txt
llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
llvm/lib/DebugInfo/CodeView/LLVMBuild.txt
llvm/lib/DebugInfo/CodeView/ModuleSubstream.cpp
llvm/lib/DebugInfo/CodeView/ModuleSubstreamVisitor.cpp
llvm/lib/DebugInfo/CodeView/TypeDumper.cpp
llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
llvm/lib/DebugInfo/LLVMBuild.txt
llvm/lib/DebugInfo/Msf/ByteStream.cpp [moved from llvm/lib/DebugInfo/CodeView/ByteStream.cpp with 73% similarity]
llvm/lib/DebugInfo/Msf/CMakeLists.txt [new file with mode: 0644]
llvm/lib/DebugInfo/Msf/IndexedStreamData.cpp [moved from llvm/lib/DebugInfo/PDB/Raw/IndexedStreamData.cpp with 82% similarity]
llvm/lib/DebugInfo/Msf/LLVMBuild.txt [new file with mode: 0644]
llvm/lib/DebugInfo/Msf/MappedBlockStream.cpp [moved from llvm/lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp with 76% similarity]
llvm/lib/DebugInfo/Msf/MsfBuilder.cpp [moved from llvm/lib/DebugInfo/PDB/Raw/MsfBuilder.cpp with 92% similarity]
llvm/lib/DebugInfo/Msf/MsfCommon.cpp [moved from llvm/lib/DebugInfo/PDB/Raw/MsfCommon.cpp with 74% similarity]
llvm/lib/DebugInfo/Msf/MsfError.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/Msf/StreamReader.cpp [moved from llvm/lib/DebugInfo/CodeView/StreamReader.cpp with 90% similarity]
llvm/lib/DebugInfo/Msf/StreamWriter.cpp [moved from llvm/lib/DebugInfo/CodeView/StreamWriter.cpp with 90% similarity]
llvm/lib/DebugInfo/PDB/CMakeLists.txt
llvm/lib/DebugInfo/PDB/LLVMBuild.txt
llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp
llvm/lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/InfoStream.cpp
llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/ModInfo.cpp
llvm/lib/DebugInfo/PDB/Raw/ModStream.cpp
llvm/lib/DebugInfo/PDB/Raw/NameHashTable.cpp
llvm/lib/DebugInfo/PDB/Raw/NameMap.cpp
llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp
llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp
llvm/lib/DebugInfo/PDB/Raw/PublicsStream.cpp
llvm/lib/DebugInfo/PDB/Raw/RawSession.cpp
llvm/lib/DebugInfo/PDB/Raw/SymbolStream.cpp
llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp
llvm/tools/llvm-pdbdump/CMakeLists.txt
llvm/tools/llvm-pdbdump/LLVMBuild.txt
llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
llvm/tools/llvm-pdbdump/PdbYaml.cpp
llvm/tools/llvm-pdbdump/PdbYaml.h
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
llvm/tools/llvm-readobj/CMakeLists.txt
llvm/tools/llvm-readobj/COFFDumper.cpp
llvm/tools/llvm-readobj/LLVMBuild.txt
llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
llvm/unittests/DebugInfo/PDB/MsfBuilderTest.cpp