]> granicus.if.org Git - llvm/commit
PDB: Add a class to create the /names stream contents.
authorRui Ueyama <ruiu@google.com>
Sun, 15 Jan 2017 00:36:02 +0000 (00:36 +0000)
committerRui Ueyama <ruiu@google.com>
Sun, 15 Jan 2017 00:36:02 +0000 (00:36 +0000)
commit4b8b0ba562d90ae3d2e75df4e84a2ff0b2798434
treecd117da1e1623e17910ed21aaad04738657bebe6
parent15050a4c1ee47ea1efaf5d314e1bc89ffeb4e445
PDB: Add a class to create the /names stream contents.

This patch adds a new class NameHashTableBuilder which creates /names streams.
This patch contains a test to confirm that a stream created by
NameHashTableBuilder can be read by NameHashTable reader class.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292040 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Raw/NameHashTableBuilder.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Raw/RawTypes.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Raw/NameHashTable.cpp
lib/DebugInfo/PDB/Raw/NameHashTableBuilder.cpp [new file with mode: 0644]
unittests/DebugInfo/PDB/CMakeLists.txt
unittests/DebugInfo/PDB/NameHashTableBuilderTest.cpp [new file with mode: 0644]