LLVM 22.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
14#include "llvm/Support/Error.h"
15
16namespace llvm {
17namespace codeview {
18class SymbolVisitorCallbacks;
19
21public:
23 std::optional<uint32_t> SymbolOffset;
24 std::optional<uint32_t> ParentRecursiveDepth;
25 std::optional<uint32_t> ChildRecursiveDepth;
26 };
27
29
34 uint32_t InitialOffset);
36 const FilterOptions &Filter);
37
38private:
39 SymbolVisitorCallbacks &Callbacks;
40};
41
42} // end namespace codeview
43} // end namespace llvm
44
45#endif // LLVM_DEBUGINFO_CODEVIEW_CVSYMBOLVISITOR_H
#define LLVM_ABI
Definition: Compiler.h:213
Lightweight error class with error context and mandatory checking.
Definition: Error.h:159
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
Definition: CVRecord.h:29
LLVM_ABI Error visitSymbolStreamFiltered(const CVSymbolArray &Symbols, const FilterOptions &Filter)
LLVM_ABI Error visitSymbolRecord(CVSymbol &Record)
LLVM_ABI Error visitSymbolStream(const CVSymbolArray &Symbols)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
@ Offset
Definition: DWP.cpp:477