LLVM
23.0.0git
include
llvm
DebugInfo
PDB
Native
Hash.h
Go to the documentation of this file.
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 "
llvm/Support/Compiler.h
"
15
#include <cstdint>
16
17
namespace
llvm
{
18
namespace
pdb
{
19
20
LLVM_ABI
uint32_t
hashStringV1
(StringRef Str);
21
LLVM_ABI
uint32_t
hashStringV2
(StringRef Str);
22
LLVM_ABI
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
ArrayRef.h
Compiler.h
LLVM_ABI
#define LLVM_ABI
Definition
Compiler.h:213
StringRef.h
llvm::pdb
Definition
LVCodeViewReader.h:44
llvm::pdb::hashStringV1
LLVM_ABI uint32_t hashStringV1(StringRef Str)
Definition
Hash.cpp:20
llvm::pdb::PDB_SymType::Data
@ Data
Definition
PDBTypes.h:251
llvm::pdb::hashBufferV8
LLVM_ABI uint32_t hashBufferV8(ArrayRef< uint8_t > Data)
Definition
Hash.cpp:80
llvm::pdb::hashStringV2
LLVM_ABI uint32_t hashStringV2(StringRef Str)
Definition
Hash.cpp:56
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
Types.h:26
Generated on
for LLVM by
1.14.0