LLVM
8.0.1
include
llvm
DebugInfo
CodeView
CVSymbolVisitor.h
Go to the documentation of this file.
1
//===- CVSymbolVisitor.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_CVSYMBOLVISITOR_H
11
#define LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H
12
13
#include "
llvm/DebugInfo/CodeView/CVRecord.h
"
14
#include "
llvm/DebugInfo/CodeView/CodeView.h
"
15
#include "
llvm/DebugInfo/CodeView/SymbolRecord.h
"
16
#include "
llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
"
17
#include "
llvm/Support/ErrorOr.h
"
18
19
namespace
llvm
{
20
namespace
codeview {
21
class
SymbolVisitorCallbacks;
22
23
class
CVSymbolVisitor
{
24
public
:
25
CVSymbolVisitor
(
SymbolVisitorCallbacks
&Callbacks);
26
27
Error
visitSymbolRecord
(
CVSymbol
&
Record
);
28
Error
visitSymbolRecord
(
CVSymbol
&Record,
uint32_t
Offset
);
29
Error
visitSymbolStream
(
const
CVSymbolArray
&
Symbols
);
30
Error
visitSymbolStream
(
const
CVSymbolArray
&Symbols,
uint32_t
InitialOffset);
31
32
private
:
33
SymbolVisitorCallbacks
&Callbacks;
34
};
35
36
}
// end namespace codeview
37
}
// end namespace llvm
38
39
#endif // LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::codeview::CVSymbolVisitor::visitSymbolRecord
Error visitSymbolRecord(CVSymbol &Record)
Definition:
CVSymbolVisitor.cpp:55
CodeView.h
llvm::codeview::CVSymbolVisitor::CVSymbolVisitor
CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks)
Definition:
CVSymbolVisitor.cpp:18
llvm::Record
Definition:
Record.h:1337
SymbolRecord.h
CVRecord.h
llvm::codeview::DebugSubsectionKind::Symbols
llvm::AMDGPU::Hwreg::Offset
Offset
Definition:
SIDefines.h:296
uint32_t
llvm::codeview::SymbolVisitorCallbacks
Definition:
SymbolVisitorCallbacks.h:19
SymbolVisitorDelegate.h
llvm::codeview::CVSymbolVisitor::visitSymbolStream
Error visitSymbolStream(const CVSymbolArray &Symbols)
Definition:
CVSymbolVisitor.cpp:67
ErrorOr.h
Provides ErrorOr<T> smart pointer.
llvm::codeview::CVSymbolVisitor
Definition:
CVSymbolVisitor.h:23
llvm::VarStreamArray< CVSymbol >
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Error.h:158
llvm::codeview::CVRecord
Definition:
CVRecord.h:28
Generated on Sun Dec 20 2020 13:53:16 for LLVM by
1.8.13