OSDN Git Service

[lld/pdb] Create an empty public symbol record stream.
authorZachary Turner <zturner@google.com>
Mon, 10 Jul 2017 22:40:20 +0000 (22:40 +0000)
committerZachary Turner <zturner@google.com>
Mon, 10 Jul 2017 22:40:20 +0000 (22:40 +0000)
commitc1422a59e8cf5855284568feaad57e7afa077b88
tree0207bbea99aaebf521990642905c574f135a903c
parent6ed70a89d6b6b4ea586924e5e23d66ae4c0bdacd
[lld/pdb] Create an empty public symbol record stream.

This is part of the continuing effort to increase parity between
LLD and MSVC PDBs.  link still doesn't like our PDBs, so the most
obvious thing to check was whether adding an empty publics stream
would get it to do something else.  It still fails in the same way
but at least this removes one more variable from the equation.
The next logical step would be to try creating an empty globals
stream.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307598 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
include/llvm/DebugInfo/PDB/Native/PublicsStream.h
include/llvm/DebugInfo/PDB/Native/PublicsStreamBuilder.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Native/RawTypes.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
lib/DebugInfo/PDB/Native/PublicsStream.cpp
lib/DebugInfo/PDB/Native/PublicsStreamBuilder.cpp [new file with mode: 0644]