LLVM
5.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
llvm
DebugInfo
CodeView
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
"
14
#include "
llvm/DebugInfo/CodeView/SymbolRecord.h
"
15
#include "
llvm/DebugInfo/CodeView/TypeRecord.h
"
16
#include "
llvm/Support/Error.h
"
17
18
namespace
llvm {
19
namespace
codeview {
20
enum class
TiRefKind
{
TypeRef
,
IndexRef
};
21
struct
TiReference
{
22
TiRefKind
Kind
;
23
uint32_t
Offset
;
24
uint32_t
Count
;
25
};
26
27
void
discoverTypeIndices
(
ArrayRef<uint8_t>
RecordData,
28
SmallVectorImpl<TiReference>
&Refs);
29
void
discoverTypeIndices
(
const
CVType
&
Type
,
30
SmallVectorImpl<TiReference>
&Refs);
31
void
discoverTypeIndices
(
const
CVType
&
Type
,
32
SmallVectorImpl<TypeIndex>
&Indices);
33
34
/// Discover type indices in symbol records. Returns false if this is an unknown
35
/// record.
36
bool
discoverTypeIndices
(
const
CVSymbol
&
Symbol
,
37
SmallVectorImpl<TiReference>
&Refs);
38
}
39
}
40
41
#endif
llvm::codeview::discoverTypeIndices
void discoverTypeIndices(ArrayRef< uint8_t > RecordData, SmallVectorImpl< TiReference > &Refs)
Definition:
TypeIndexDiscovery.cpp:472
llvm::ARMBuildAttrs::Symbol
Definition:
ARMBuildAttributes.h:77
SymbolRecord.h
llvm::SmallVectorImpl
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Definition:
APFloat.h:42
llvm::codeview::TiReference::Count
uint32_t Count
Definition:
TypeIndexDiscovery.h:24
llvm::ArrayRef< uint8_t >
Error.h
llvm::Type
The instances of the Type class are immutable: once they are created, they are never changed...
Definition:
Type.h:46
uint32_t
llvm::codeview::TiRefKind::IndexRef
llvm::codeview::TiRefKind
TiRefKind
Definition:
TypeIndexDiscovery.h:20
llvm::codeview::TiReference::Kind
TiRefKind Kind
Definition:
TypeIndexDiscovery.h:22
llvm::codeview::TiRefKind::TypeRef
TypeRecord.h
llvm::codeview::TiReference
Definition:
TypeIndexDiscovery.h:21
SmallVector.h
llvm::codeview::TiReference::Offset
uint32_t Offset
Definition:
TypeIndexDiscovery.h:23
llvm::codeview::CVRecord
Definition:
CVRecord.h:28
Generated on Fri Sep 1 2017 14:12:27 for LLVM by
1.8.6