summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/DebugInfo/PDB/Raw/Hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/DebugInfo/PDB/Raw/Hash.h')
-rw-r--r--llvm/include/llvm/DebugInfo/PDB/Raw/Hash.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo/PDB/Raw/Hash.h b/llvm/include/llvm/DebugInfo/PDB/Raw/Hash.h
new file mode 100644
index 00000000000..3b2056e57f6
--- /dev/null
+++ b/llvm/include/llvm/DebugInfo/PDB/Raw/Hash.h
@@ -0,0 +1,22 @@
+//===- Hash.h - PDB hash functions ------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_DEBUGINFO_PDB_RAW_HASH_H
+#define LLVM_DEBUGINFO_PDB_RAW_HASH_H
+
+#include "llvm/ADT/StringRef.h"
+
+namespace llvm {
+namespace pdb {
+uint32_t HashStringV1(StringRef Str);
+uint32_t HashStringV2(StringRef Str);
+}
+}
+
+#endif
OpenPOWER on IntegriCloud