Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | //===- Hash.h - PDB hash functions ------------------------------*- C++ -*-===// |
2 | // |
||
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
||
4 | // See https://llvm.org/LICENSE.txt for license information. |
||
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
||
6 | // |
||
7 | //===----------------------------------------------------------------------===// |
||
8 | |||
9 | #ifndef LLVM_DEBUGINFO_PDB_NATIVE_HASH_H |
||
10 | #define LLVM_DEBUGINFO_PDB_NATIVE_HASH_H |
||
11 | |||
12 | #include "llvm/ADT/ArrayRef.h" |
||
13 | #include "llvm/ADT/StringRef.h" |
||
14 | #include <cstdint> |
||
15 | |||
16 | namespace llvm { |
||
17 | namespace pdb { |
||
18 | |||
19 | uint32_t hashStringV1(StringRef Str); |
||
20 | uint32_t hashStringV2(StringRef Str); |
||
21 | uint32_t hashBufferV8(ArrayRef<uint8_t> Data); |
||
22 | |||
23 | } // end namespace pdb |
||
24 | } // end namespace llvm |
||
25 | |||
26 | #endif // LLVM_DEBUGINFO_PDB_NATIVE_HASH_H |