LLVM 19.0.0git
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
14namespace llvm {
15namespace pdb {
16
17class NativeSession;
18
19class NativeEnumModules : public IPDBEnumChildren<PDBSymbol> {
20public:
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
28private:
29 NativeSession &Session;
31};
32}
33}
34
35#endif
uint32_t getChildCount() const override
std::unique_ptr< PDBSymbol > getChildAtIndex(uint32_t Index) const override
std::unique_ptr< PDBSymbol > getNext() override
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18