[PATCH] D30959: [pdb] Add support for writing Module Info and module symbols

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 15:50:49 PDT 2017


zturner created this revision.
Herald added a subscriber: mgorny.

  Previously we did not have support for writing detailed
  module information for each module, as well as the symbol
  records.  This patch adds support for this, and in doing
  so enables the ability to construct minimal PDBs from
  just a few lines of YAML.  A test is added to illustrate
  this functionality.


https://reviews.llvm.org/D30959

Files:
  lld/COFF/PDB.cpp
  llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/ModInfoBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/RawError.h
  llvm/include/llvm/Support/BinaryStreamWriter.h
  llvm/lib/DebugInfo/PDB/CMakeLists.txt
  llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/ModInfoBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/RawError.cpp
  llvm/lib/Support/BinaryStreamWriter.cpp
  llvm/test/DebugInfo/PDB/Inputs/one-symbol.yaml
  llvm/test/DebugInfo/PDB/pdb-minimal-construct.test
  llvm/test/DebugInfo/PDB/pdbdump-yaml-types.test
  llvm/tools/llvm-pdbdump/PdbYaml.cpp
  llvm/tools/llvm-pdbdump/PdbYaml.h
  llvm/tools/llvm-pdbdump/YAMLOutputStyle.cpp
  llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
  llvm/tools/llvm-pdbdump/llvm-pdbdump.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30959.91789.patch
Type: text/x-patch
Size: 35438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170314/55ec1721/attachment.bin>


More information about the llvm-commits mailing list