File indexing completed on 2026-05-10 08:43:44
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMGLOBALS_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMGLOBALS_H
0011
0012 #include "llvm/DebugInfo/CodeView/CodeView.h"
0013 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
0014 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
0015
0016 #include <vector>
0017
0018 namespace llvm {
0019 namespace pdb {
0020
0021 class NativeSession;
0022
0023 class NativeEnumGlobals : public IPDBEnumChildren<PDBSymbol> {
0024 public:
0025 NativeEnumGlobals(NativeSession &Session,
0026 std::vector<codeview::SymbolKind> Kinds);
0027
0028 uint32_t getChildCount() const override;
0029 std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
0030 std::unique_ptr<PDBSymbol> getNext() override;
0031 void reset() override;
0032
0033 private:
0034 std::vector<uint32_t> MatchOffsets;
0035 uint32_t Index;
0036 NativeSession &Session;
0037 };
0038
0039 }
0040 }
0041
0042 #endif