OSDN Git Service

[llvm-pdbdump] Abstract some of the YAML/Raw printing code.
authorZachary Turner <zturner@google.com>
Sat, 29 Apr 2017 01:13:21 +0000 (01:13 +0000)
committerZachary Turner <zturner@google.com>
Sat, 29 Apr 2017 01:13:21 +0000 (01:13 +0000)
commit40d2ca9f43bf3d7342bd592028e983a6aa966a63
treef42dc3d74366d3f57d5405367140c07f0ab0f933
parente85d77f956b243ef05803e30d9694cbee1f2dde8
[llvm-pdbdump] Abstract some of the YAML/Raw printing code.

There is a lot of duplicate code for printing line info between
YAML and the raw output printer.  This introduces a base class
that can be shared between the two, and makes some minor
cleanups in the process.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301728 91177308-0d34-0410-b5e6-96231b3b80d8
22 files changed:
include/llvm/DebugInfo/CodeView/CodeView.h
include/llvm/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.h
include/llvm/DebugInfo/CodeView/ModuleDebugFragmentVisitor.h
include/llvm/DebugInfo/CodeView/ModuleDebugLineFragment.h
include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
include/llvm/DebugInfo/PDB/Native/RawTypes.h
lib/DebugInfo/CodeView/ModuleDebugFragmentVisitor.cpp
lib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp
lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp
lib/MC/MCCodeView.cpp
test/DebugInfo/PDB/pdbdump-headers.test
test/DebugInfo/PDB/pdbdump-yaml-lineinfo.test
tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp [new file with mode: 0644]
tools/llvm-pdbdump/C13DebugFragmentVisitor.h [new file with mode: 0644]
tools/llvm-pdbdump/CMakeLists.txt
tools/llvm-pdbdump/LLVMOutputStyle.cpp
tools/llvm-pdbdump/PdbYaml.cpp
tools/llvm-pdbdump/PdbYaml.h
tools/llvm-pdbdump/YAMLOutputStyle.cpp
tools/llvm-readobj/COFFDumper.cpp