mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 23:32:00 +00:00
38 lines
1.0 KiB
C
38 lines
1.0 KiB
C
|
//==- DIAEnumSymbols.h - DIA Symbol Enumerator impl --------------*- C++ -*-==//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef LLVM_DEBUGINFO_PDB_DIA_DIAENUMSYMBOLS_H
|
||
|
#define LLVM_DEBUGINFO_PDB_DIA_DIAENUMSYMBOLS_H
|
||
|
|
||
|
#include "DIASupport.h"
|
||
|
#include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
|
||
|
|
||
|
namespace llvm {
|
||
|
|
||
|
class DIASession;
|
||
|
|
||
|
class DIAEnumSymbols : public IPDBEnumChildren<PDBSymbol> {
|
||
|
public:
|
||
|
explicit DIAEnumSymbols(const DIASession &Session,
|
||
|
CComPtr<IDiaEnumSymbols> DiaEnumerator);
|
||
|
|
||
|
uint32_t getChildCount() const override;
|
||
|
std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
|
||
|
std::unique_ptr<PDBSymbol> getNext() override;
|
||
|
void reset() override;
|
||
|
DIAEnumSymbols *clone() const override;
|
||
|
|
||
|
private:
|
||
|
const DIASession &Session;
|
||
|
CComPtr<IDiaEnumSymbols> Enumerator;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|