LLVM 22.0.0git
TypeIndexDiscovery.h
Go to the documentation of this file.
1//===- TypeIndexDiscovery.h -------------------------------------*- 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_CODEVIEW_TYPEINDEXDISCOVERY_H
10#define LLVM_DEBUGINFO_CODEVIEW_TYPEINDEXDISCOVERY_H
11
12#include "llvm/ADT/ArrayRef.h"
15
16namespace llvm {
17template <typename T> class SmallVectorImpl;
18namespace codeview {
19class TypeIndex;
20enum class TiRefKind { TypeRef, IndexRef };
25};
26
35
36/// Discover type indices in symbol records. Returns false if this is an unknown
37/// record.
44}
45}
46
47#endif
#define LLVM_ABI
Definition: Compiler.h:213
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:41
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Definition: SmallVector.h:574
The instances of the Type class are immutable: once they are created, they are never changed.
Definition: Type.h:45
LLVM_ABI bool discoverTypeIndicesInSymbol(const CVSymbol &Symbol, SmallVectorImpl< TiReference > &Refs)
Discover type indices in symbol records.
LLVM_ABI void discoverTypeIndices(ArrayRef< uint8_t > RecordData, SmallVectorImpl< TiReference > &Refs)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18