18 CComPtr<IDiaEnumSectionContribs> DiaEnumerator)
19 : Session(PDBSession),
Enumerator(DiaEnumerator) {}
23 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
26std::unique_ptr<IPDBSectionContrib>
28 CComPtr<IDiaSectionContrib> Item;
29 if (S_OK != Enumerator->Item(Index, &Item))
32 return std::unique_ptr<IPDBSectionContrib>(
37 CComPtr<IDiaSectionContrib> Item;
39 if (S_OK != Enumerator->Next(1, &Item, &NumFetched))
42 return std::unique_ptr<IPDBSectionContrib>(
DIAEnumSectionContribs(const DIASession &PDBSession, CComPtr< IDiaEnumSectionContribs > DiaEnumerator)
uint32_t getChildCount() const override
ChildTypePtr getChildAtIndex(uint32_t Index) const override
ChildTypePtr getNext() override
This is an optimization pass for GlobalISel generic memory operations.