#include "llvm/DebugInfo/PDB/Native/HashTable.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/BinaryByteStream.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Testing/Support/Error.h"
#include "gtest/gtest.h"
#include <vector>
usingnamespacellvm;
usingnamespacellvm::pdb;
usingnamespacellvm::support;
namespace {
struct IdentityHashTraits { … };
template <class T = uint32_t>
class HashTableInternals : public HashTable<T> { … };
}
TEST(HashTableTest, TestSimple) { … }
TEST(HashTableTest, TestCollision) { … }
TEST(HashTableTest, TestRemove) { … }
TEST(HashTableTest, TestCollisionAfterMultipleProbes) { … }
TEST(HashTableTest, Grow) { … }
TEST(HashTableTest, Serialization) { … }
TEST(HashTableTest, NamedStreamMap) { … }
struct FooBar { … };
struct FooBarHashTraits { … };
TEST(HashTableTest, NonTrivialValueType) { … }