LLVM  6.0.0svn
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 
17 #include "llvm/Support/ErrorOr.h"
18 
19 namespace llvm {
20 namespace codeview {
21 class SymbolVisitorCallbacks;
22 
24 public:
26 
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
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
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:156