LLVM  14.0.0git
CVSymbolVisitor.h
Go to the documentation of this file.
1 //===- CVSymbolVisitor.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_CVSYMBOLVISITOR_H
10 #define LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H
11 
13 #include "llvm/Support/ErrorOr.h"
14 
15 namespace llvm {
16 namespace codeview {
17 class SymbolVisitorCallbacks;
18 
20 public:
22 
25  Error visitSymbolStream(const CVSymbolArray &Symbols);
26  Error visitSymbolStream(const CVSymbolArray &Symbols, uint32_t InitialOffset);
27 
28 private:
29  SymbolVisitorCallbacks &Callbacks;
30 };
31 
32 } // end namespace codeview
33 } // end namespace llvm
34 
35 #endif // LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H
llvm::codeview::CVSymbolVisitor::CVSymbolVisitor
CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks)
Definition: CVSymbolVisitor.cpp:17
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
Offset
uint64_t Offset
Definition: ELFObjHandler.cpp:81
llvm::codeview::CVSymbolVisitor::visitSymbolStream
Error visitSymbolStream(const CVSymbolArray &Symbols)
Definition: CVSymbolVisitor.cpp:66
llvm::VarStreamArray< CVSymbol >
llvm::codeview::SymbolVisitorCallbacks
Definition: SymbolVisitorCallbacks.h:18
ErrorOr.h
llvm::Record
Definition: Record.h:1472
llvm::codeview::CVRecord
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
Definition: CVRecord.h:29
uint32_t
llvm::Error
Lightweight error class with error context and mandatory checking.
Definition: Error.h:157
CVRecord.h
llvm::codeview::CVSymbolVisitor::visitSymbolRecord
Error visitSymbolRecord(CVSymbol &Record)
Definition: CVSymbolVisitor.cpp:54
llvm::codeview::CVSymbolVisitor
Definition: CVSymbolVisitor.h:19