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