OSDN Git Service

[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)
commit4ab13f5ec5aa053abda7a6864e7bd0357cfc47a9
tree77217b0d648262ad2670597fe9670122f03d5751
parent1dc6ec23d6d16f24e561cbec9fe8bef9acb445a8
[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.

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