Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:44

0001 //===- Hash.h - PDB hash functions ------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_HASH_H
0011 
0012 #include "llvm/ADT/ArrayRef.h"
0013 #include "llvm/ADT/StringRef.h"
0014 #include <cstdint>
0015 
0016 namespace llvm {
0017 namespace pdb {
0018 
0019 uint32_t hashStringV1(StringRef Str);
0020 uint32_t hashStringV2(StringRef Str);
0021 uint32_t hashBufferV8(ArrayRef<uint8_t> Data);
0022 
0023 } // end namespace pdb
0024 } // end namespace llvm
0025 
0026 #endif // LLVM_DEBUGINFO_PDB_NATIVE_HASH_H