Refactor the PDB HashTable class.
authorZachary Turner <zturner@google.com>
Thu, 15 Mar 2018 17:38:26 +0000 (17:38 +0000)
committerZachary Turner <zturner@google.com>
Thu, 15 Mar 2018 17:38:26 +0000 (17:38 +0000)
commitebf03f6c4641cb6f73955c6bbeddf04ec5b353d7
treeadbf8589d9067f5be3c0a1b4c2035699653a2859
parentca587fe0b4749b5ffca8cfc8358ea4602e435bb7
Refactor the PDB HashTable class.

It previously only worked when the key and value types were
both 4 byte integers.  We now have a use case for a non trivial
value type, so we need to extend it to support arbitrary value
types, which means templatizing it.

llvm-svn: 327647
llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h
llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h
llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h
llvm/lib/DebugInfo/PDB/Native/HashTable.cpp
llvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp
llvm/tools/llvm-pdbutil/Analyze.cpp
llvm/unittests/DebugInfo/PDB/HashTableTest.cpp