]> granicus.if.org Git - llvm/commit
[pdb] Merge NamedStreamMapBuilder and NamedStreamMap.
authorZachary Turner <zturner@google.com>
Fri, 20 Jan 2017 22:41:40 +0000 (22:41 +0000)
committerZachary Turner <zturner@google.com>
Fri, 20 Jan 2017 22:41:40 +0000 (22:41 +0000)
commitb7d2cf75d145e5ee56cc0e1e2cc6d25654ca23f0
treef869b6b1ece547dc3e4513dba9feeb3cc8dc3d4b
parentf213f1173e99ff3cb714f3c4b76c3b8ce53cab65
[pdb] Merge NamedStreamMapBuilder and NamedStreamMap.

While the builder pattern has proven useful for certain other
larger types, in this case it was hampering the ability to use
the data structure, as for runtime access we need a map that
we can efficiently read from and write to.  So the two are merged
into a single data structure that can efficiently be read to,
written from, deserialized from bytes, and serialized to bytes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292664 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Raw/HashTable.h
include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h
include/llvm/DebugInfo/PDB/Raw/NamedStreamMap.h
include/llvm/DebugInfo/PDB/Raw/NamedStreamMapBuilder.h [deleted file]
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Raw/HashTable.cpp
lib/DebugInfo/PDB/Raw/InfoStream.cpp
lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp
lib/DebugInfo/PDB/Raw/NamedStreamMap.cpp
lib/DebugInfo/PDB/Raw/NamedStreamMapBuilder.cpp [deleted file]
tools/llvm-pdbdump/llvm-pdbdump.cpp