LLVM
15.0.0git
include
llvm
DebugInfo
PDB
Native
NativeEnumModules.h
Go to the documentation of this file.
1
//==- NativeEnumModules.h - Native Module 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_NATIVE_NATIVEENUMMODULES_H
10
#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMMODULES_H
11
12
#include "
llvm/DebugInfo/PDB/IPDBEnumChildren.h
"
13
#include "
llvm/DebugInfo/PDB/PDBSymbol.h
"
14
namespace
llvm
{
15
namespace
pdb {
16
17
class
NativeSession;
18
19
class
NativeEnumModules
:
public
IPDBEnumChildren
<PDBSymbol> {
20
public
:
21
NativeEnumModules
(
NativeSession
&Session,
uint32_t
Index = 0);
22
23
uint32_t
getChildCount
()
const override
;
24
std::unique_ptr<PDBSymbol>
getChildAtIndex
(
uint32_t
Index)
const override
;
25
std::unique_ptr<PDBSymbol>
getNext
()
override
;
26
void
reset
()
override
;
27
28
private
:
29
NativeSession
&Session;
30
uint32_t
Index;
31
};
32
}
33
}
34
35
#endif
llvm::pdb::NativeEnumModules
Definition:
NativeEnumModules.h:19
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
llvm::pdb::NativeEnumModules::NativeEnumModules
NativeEnumModules(NativeSession &Session, uint32_t Index=0)
Definition:
NativeEnumModules.cpp:19
llvm::pdb::NativeEnumModules::getNext
std::unique_ptr< PDBSymbol > getNext() override
Definition:
NativeEnumModules.cpp:31
PDBSymbol.h
llvm::pdb::NativeEnumModules::reset
void reset() override
Definition:
NativeEnumModules.cpp:37
IPDBEnumChildren.h
llvm::pdb::NativeEnumModules::getChildAtIndex
std::unique_ptr< PDBSymbol > getChildAtIndex(uint32_t Index) const override
Definition:
NativeEnumModules.cpp:27
llvm::pdb::NativeEnumModules::getChildCount
uint32_t getChildCount() const override
Definition:
NativeEnumModules.cpp:22
uint32_t
llvm::pdb::NativeSession
Definition:
NativeSession.h:32
llvm::pdb::IPDBEnumChildren
Definition:
IPDBEnumChildren.h:20
Generated on Fri May 20 2022 08:01:56 for LLVM by
1.8.17