#include "llvm/DebugInfo/CodeView/CVSymbolVisitor.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/CodeView/SymbolRecordHelpers.h"
#include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h"
#include "llvm/Support/BinaryStreamArray.h"
#include "llvm/Support/ErrorHandling.h"
usingnamespacellvm;
usingnamespacellvm::codeview;
CVSymbolVisitor::CVSymbolVisitor(SymbolVisitorCallbacks &Callbacks)
: … { … }
template <typename T>
static Error visitKnownRecord(CVSymbol &Record,
SymbolVisitorCallbacks &Callbacks) { … }
static Error finishVisitation(CVSymbol &Record,
SymbolVisitorCallbacks &Callbacks) { … }
Error CVSymbolVisitor::visitSymbolRecord(CVSymbol &Record) { … }
Error CVSymbolVisitor::visitSymbolRecord(CVSymbol &Record, uint32_t Offset) { … }
Error CVSymbolVisitor::visitSymbolStream(const CVSymbolArray &Symbols) { … }
Error CVSymbolVisitor::visitSymbolStream(const CVSymbolArray &Symbols,
uint32_t InitialOffset) { … }
Error CVSymbolVisitor::visitSymbolStreamFiltered(const CVSymbolArray &Symbols,
const FilterOptions &Filter) { … }