1 //===- Hash.h - PDB hash functions ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
11 #define LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/ADT/StringRef.h"
20 uint32_t hashStringV1(StringRef Str);
21 uint32_t hashStringV2(StringRef Str);
22 uint32_t hashBufferV8(ArrayRef<uint8_t> Data);
24 } // end namespace pdb
25 } // end namespace llvm
27 #endif // LLVM_DEBUGINFO_PDB_NATIVE_HASH_H