File indexing completed on 2026-05-10 08:43:44
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAENUMSECTIONCONTRIBS_H
0010 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMSECTIONCONTRIBS_H
0011
0012 #include "DIASupport.h"
0013 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
0014 #include "llvm/DebugInfo/PDB/IPDBSectionContrib.h"
0015
0016 namespace llvm {
0017 namespace pdb {
0018 class DIASession;
0019
0020 class DIAEnumSectionContribs : public IPDBEnumChildren<IPDBSectionContrib> {
0021 public:
0022 explicit DIAEnumSectionContribs(
0023 const DIASession &PDBSession,
0024 CComPtr<IDiaEnumSectionContribs> DiaEnumerator);
0025
0026 uint32_t getChildCount() const override;
0027 ChildTypePtr getChildAtIndex(uint32_t Index) const override;
0028 ChildTypePtr getNext() override;
0029 void reset() override;
0030
0031 private:
0032 const DIASession &Session;
0033 CComPtr<IDiaEnumSectionContribs> Enumerator;
0034 };
0035 }
0036 }
0037
0038 #endif