Home | History | Annotate | Download | only in Native
      1 //===- Hash.h - PDB hash functions ------------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
     11 #define LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
     12 
     13 #include "llvm/ADT/ArrayRef.h"
     14 #include "llvm/ADT/StringRef.h"
     15 #include <cstdint>
     16 
     17 namespace llvm {
     18 namespace pdb {
     19 
     20 uint32_t hashStringV1(StringRef Str);
     21 uint32_t hashStringV2(StringRef Str);
     22 uint32_t hashBufferV8(ArrayRef<uint8_t> Data);
     23 
     24 } // end namespace pdb
     25 } // end namespace llvm
     26 
     27 #endif // LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
     28