LLVM  10.0.0svn
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 
16 #include "llvm/Support/ErrorOr.h"
17 
18 namespace llvm {
19 namespace codeview {
20 class SymbolVisitorCallbacks;
21 
23 public:
25 
29  Error visitSymbolStream(const CVSymbolArray &Symbols, uint32_t InitialOffset);
30 
31 private:
32  SymbolVisitorCallbacks &Callbacks;
33 };
34 
35 } // end namespace codeview
36 } // end namespace llvm
37 
38 #endif // LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H
This class represents lattice values for constants.
Definition: AllocatorList.h:23
Error visitSymbolRecord(CVSymbol &Record)
CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks)
Error visitSymbolStream(const CVSymbolArray &Symbols)
Provides ErrorOr<T> smart pointer.
Lightweight error class with error context and mandatory checking.
Definition: Error.h:157
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
Definition: CVRecord.h:30