]> granicus.if.org Git - llvm/commit
[llvm-pdbdump] Support native ordering of subsections in raw mode.
authorZachary Turner <zturner@google.com>
Thu, 8 Jun 2017 23:49:01 +0000 (23:49 +0000)
committerZachary Turner <zturner@google.com>
Thu, 8 Jun 2017 23:49:01 +0000 (23:49 +0000)
commit8f318ceb6f3ac65a3a94f1e7c88b65de3204efd5
tree4ef69f8ca52b14076904bf33d3c50249d5a43377
parent86c4763ad51adaae72ad7f5957b6a559fe278eda
[llvm-pdbdump] Support native ordering of subsections in raw mode.

This is the same change for the YAML Output style applied to the
raw output style.  Previously we would queue up all subsections
until every one had been read, and then output them in a pre-
determined order.  This was because some subsections need to be
read first in order to properly dump later subsections.  This
patch allows them to be dumped in the order they appear.

Differential Revision: https://reviews.llvm.org/D34015

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305034 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h
include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
test/DebugInfo/PDB/pdbdump-debug-subsections.test
test/DebugInfo/PDB/pdbdump-headers.test
tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp [deleted file]
tools/llvm-pdbdump/C13DebugFragmentVisitor.h [deleted file]
tools/llvm-pdbdump/CMakeLists.txt
tools/llvm-pdbdump/LLVMOutputStyle.cpp
tools/llvm-pdbdump/YAMLOutputStyle.cpp