LLVM  8.0.1
TypeIndexDiscovery.h
Go to the documentation of this file.
1 //===- TypeIndexDiscovery.h -------------------------------------*- 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_CODEVIEW_TYPEINDEXDISCOVERY_H
11 #define LLVM_DEBUGINFO_CODEVIEW_TYPEINDEXDISCOVERY_H
12 
13 #include "llvm/ADT/SmallVector.h"
16 #include "llvm/Support/Error.h"
17 
18 namespace llvm {
19 namespace codeview {
20 enum class TiRefKind { TypeRef, IndexRef };
21 struct TiReference {
25 };
26 
29 void discoverTypeIndices(const CVType &Type,
31 void discoverTypeIndices(const CVType &Type,
35 
36 /// Discover type indices in symbol records. Returns false if this is an unknown
37 /// record.
44 }
45 }
46 
47 #endif
void discoverTypeIndices(ArrayRef< uint8_t > RecordData, SmallVectorImpl< TiReference > &Refs)
This class represents lattice values for constants.
Definition: AllocatorList.h:24
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Definition: APFloat.h:42
The instances of the Type class are immutable: once they are created, they are never changed...
Definition: Type.h:46
bool discoverTypeIndicesInSymbol(const CVSymbol &Symbol, SmallVectorImpl< TiReference > &Refs)
Discover type indices in symbol records.