[PATCH] D35290: [pdb/lld] Add an empty globals stream

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 19:50:36 PDT 2017


zturner created this revision.
Herald added subscribers: hiraditya, mgorny.

This is similar to the patch for adding an empty publics stream, but this patch adds an empty globals stream.  With this we are outputting at least something for every stream that MSVC outputs, even if our stream is empty


https://reviews.llvm.org/D35290

Files:
  lld/COFF/PDB.cpp
  lld/test/COFF/pdb-diff.test
  llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStreamBuilder.h
  llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
  llvm/lib/DebugInfo/PDB/CMakeLists.txt
  llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/GlobalsStreamBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35290.106138.patch
Type: text/x-patch
Size: 12421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/e50e0451/attachment.bin>


More information about the llvm-commits mailing list