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_RAW_HASH_H
11 #define LLVM_DEBUGINFO_PDB_RAW_HASH_H
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/ADT/StringRef.h"
19 uint32_t hashStringV1(StringRef Str);
20 uint32_t hashStringV2(StringRef Str);
21 uint32_t hashBufferV8(ArrayRef<uint8_t> Data);