LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
include
llvm
DebugInfo
CodeView
CVTypeVisitor.h
Go to the documentation of this file.
1
//===- CVTypeVisitor.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_CVTYPEVISITOR_H
11
#define LLVM_DEBUGINFO_CODEVIEW_CVTYPEVISITOR_H
12
13
#include "
llvm/ADT/SmallVector.h
"
14
#include "
llvm/DebugInfo/CodeView/CVRecord.h
"
15
#include "
llvm/DebugInfo/CodeView/TypeRecord.h
"
16
#include "
llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h
"
17
#include "
llvm/Support/Error.h
"
18
19
namespace
llvm {
20
namespace
codeview {
21
22
class
CVTypeVisitor
{
23
public
:
24
explicit
CVTypeVisitor
(
TypeVisitorCallbacks
&Callbacks);
25
26
Error
visitTypeRecord
(
CVType
&
Record
);
27
Error
visitMemberRecord
(
CVMemberRecord
&Record);
28
29
/// Visits the type records in Data. Sets the error flag on parse failures.
30
Error
visitTypeStream
(
const
CVTypeArray
&Types);
31
32
Error
visitFieldListMemberStream
(
ArrayRef<uint8_t>
FieldList);
33
Error
visitFieldListMemberStream
(
msf::StreamReader
Reader);
34
35
private
:
36
/// The interface to the class that gets notified of each visitation.
37
TypeVisitorCallbacks
&Callbacks;
38
};
39
40
}
// end namespace codeview
41
}
// end namespace llvm
42
43
#endif // LLVM_DEBUGINFO_CODEVIEW_CVTYPEVISITOR_H
TypeVisitorCallbacks.h
llvm::codeview::CVTypeVisitor::CVTypeVisitor
CVTypeVisitor(TypeVisitorCallbacks &Callbacks)
Definition:
CVTypeVisitor.cpp:20
llvm::codeview::CVTypeVisitor
Definition:
CVTypeVisitor.h:22
llvm::Record
Definition:
Record.h:1262
llvm::codeview::CVMemberRecord
Definition:
TypeRecord.h:41
CVRecord.h
llvm::codeview::CVTypeVisitor::visitTypeStream
Error visitTypeStream(const CVTypeArray &Types)
Visits the type records in Data. Sets the error flag on parse failures.
Definition:
CVTypeVisitor.cpp:104
llvm::ArrayRef< uint8_t >
llvm::msf::VarStreamArray< CVType >
llvm::msf::StreamReader
Definition:
StreamReader.h:26
Error.h
llvm::codeview::CVTypeVisitor::visitTypeRecord
Error visitTypeRecord(CVType &Record)
Definition:
CVTypeVisitor.cpp:42
llvm::codeview::CVTypeVisitor::visitFieldListMemberStream
Error visitFieldListMemberStream(ArrayRef< uint8_t > FieldList)
Definition:
CVTypeVisitor.cpp:132
llvm::codeview::TypeVisitorCallbacks
Definition:
TypeVisitorCallbacks.h:19
TypeRecord.h
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition:
Support/Error.h:152
SmallVector.h
llvm::codeview::CVRecord< TypeLeafKind >
llvm::codeview::CVTypeVisitor::visitMemberRecord
Error visitMemberRecord(CVMemberRecord &Record)
Definition:
CVTypeVisitor.cpp:99
Generated on Wed Mar 8 2017 17:07:27 for LLVM by
1.8.6