LLVM
15.0.0git
include
llvm
DebugInfo
PDB
DIA
DIAEnumSymbols.h
Go to the documentation of this file.
1
//==- DIAEnumSymbols.h - DIA Symbol Enumerator impl --------------*- 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_PDB_DIA_DIAENUMSYMBOLS_H
10
#define LLVM_DEBUGINFO_PDB_DIA_DIAENUMSYMBOLS_H
11
12
#include "
DIASupport.h
"
13
#include "
llvm/DebugInfo/PDB/IPDBEnumChildren.h
"
14
#include "
llvm/DebugInfo/PDB/PDBSymbol.h
"
15
16
namespace
llvm
{
17
namespace
pdb {
18
class
DIASession;
19
20
class
DIAEnumSymbols
:
public
IPDBEnumChildren
<PDBSymbol> {
21
public
:
22
explicit
DIAEnumSymbols
(
const
DIASession
&Session,
23
CComPtr<IDiaEnumSymbols> DiaEnumerator);
24
25
uint32_t
getChildCount
()
const override
;
26
std::unique_ptr<PDBSymbol>
getChildAtIndex
(
uint32_t
Index
)
const override
;
27
std::unique_ptr<PDBSymbol>
getNext
()
override
;
28
void
reset
()
override
;
29
30
private
:
31
const
DIASession
&Session;
32
CComPtr<IDiaEnumSymbols> Enumerator;
33
};
34
}
35
}
36
37
#endif
DIASupport.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
llvm::pdb::DIAEnumSymbols::getChildAtIndex
std::unique_ptr< PDBSymbol > getChildAtIndex(uint32_t Index) const override
Definition:
DIAEnumSymbols.cpp:27
llvm::pdb::DIAEnumSymbols::reset
void reset() override
Definition:
DIAEnumSymbols.cpp:47
llvm::pdb::DIASession
Definition:
DIASession.h:22
llvm::pdb::DIAEnumSymbols::getChildCount
uint32_t getChildCount() const override
Definition:
DIAEnumSymbols.cpp:21
llvm::dwarf::Index
Index
Definition:
Dwarf.h:472
llvm::pdb::DIAEnumSymbols::DIAEnumSymbols
DIAEnumSymbols(const DIASession &Session, CComPtr< IDiaEnumSymbols > DiaEnumerator)
Definition:
DIAEnumSymbols.cpp:17
PDBSymbol.h
IPDBEnumChildren.h
uint32_t
llvm::pdb::DIAEnumSymbols
Definition:
DIAEnumSymbols.h:20
llvm::pdb::IPDBEnumChildren
Definition:
IPDBEnumChildren.h:20
llvm::pdb::DIAEnumSymbols::getNext
std::unique_ptr< PDBSymbol > getNext() override
Definition:
DIAEnumSymbols.cpp:36
Generated on Sat Jun 25 2022 06:41:13 for LLVM by
1.8.17