1 //==- NativeEnumGlobals.h - Native Global Enumerator impl --------*- C++ -*-==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMGLOBALS_H
11 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMGLOBALS_H
13 #include "llvm/DebugInfo/CodeView/SymbolRecord.h"
14 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
15 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
24 class NativeEnumGlobals : public IPDBEnumChildren<PDBSymbol> {
26 NativeEnumGlobals(NativeSession &Session,
27 std::vector<codeview::SymbolKind> Kinds);
29 uint32_t getChildCount() const override;
30 std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
31 std::unique_ptr<PDBSymbol> getNext() override;
32 void reset() override;
35 std::vector<uint32_t> MatchOffsets;
37 NativeSession &Session;