Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:44

0001 //==- NativeEnumModules.h - Native Module Enumerator impl --------*- C++ -*-==//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMMODULES_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMMODULES_H
0011 
0012 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
0013 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
0014 namespace llvm {
0015 namespace pdb {
0016 
0017 class NativeSession;
0018 
0019 class NativeEnumModules : public IPDBEnumChildren<PDBSymbol> {
0020 public:
0021   NativeEnumModules(NativeSession &Session, uint32_t Index = 0);
0022 
0023   uint32_t getChildCount() const override;
0024   std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
0025   std::unique_ptr<PDBSymbol> getNext() override;
0026   void reset() override;
0027 
0028 private:
0029   NativeSession &Session;
0030   uint32_t Index;
0031 };
0032 }
0033 }
0034 
0035 #endif