[PATCH] D32716: Write CodeView file checksum and line information to PDB

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 12:35:09 PDT 2017


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

This was originally uploaded as https://reviews.llvm.org/D32615, but some problems were discovered in the way that filenames were mapped to indices, which necessitated some preliminary refactoring.  That has been done, so this is the new patch uploaded, based on top of the refactorings.  Hopefully this diff is much smaller than before.

For example usage of the API, see the `yamlToPdb` function in `llvm-pdbdump.cpp`


https://reviews.llvm.org/D32716

Files:
  llvm/include/llvm/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.h
  llvm/include/llvm/DebugInfo/CodeView/ModuleDebugFragment.h
  llvm/include/llvm/DebugInfo/CodeView/ModuleDebugFragmentRecord.h
  llvm/include/llvm/DebugInfo/CodeView/ModuleDebugLineFragment.h
  llvm/include/llvm/DebugInfo/CodeView/TypeDatabase.h
  llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStreamBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/StringTableBuilder.h
  llvm/lib/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.cpp
  llvm/lib/DebugInfo/CodeView/ModuleDebugFragment.cpp
  llvm/lib/DebugInfo/CodeView/ModuleDebugFragmentRecord.cpp
  llvm/lib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp
  llvm/lib/DebugInfo/CodeView/TypeDatabase.cpp
  llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/ModuleDebugStreamBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/StringTableBuilder.cpp
  llvm/test/DebugInfo/PDB/Inputs/simple-line-info.yaml
  llvm/test/DebugInfo/PDB/pdbdump-headers.test
  llvm/test/DebugInfo/PDB/pdbdump-yaml-lineinfo-write.test
  llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
  llvm/tools/llvm-pdbdump/YAMLOutputStyle.cpp
  llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32716.97333.patch
Type: text/x-patch
Size: 34811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170501/9b29e651/attachment-0001.bin>


More information about the llvm-commits mailing list