LLVM: include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMGLOBALS_H

10#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMGLOBALS_H

11

15

16#include

17

18namespace llvm {

19namespace pdb {

20

22

24public:

26 std::vectorcodeview::SymbolKind Kinds);

27

30 std::unique_ptr getNext() override;

31 void reset() override;

32

33private:

34 std::vector<uint32_t> MatchOffsets;

37};

38

39}

40}

41

42#endif

uint32_t getChildCount() const override

NativeEnumGlobals(NativeSession &Session, std::vector< codeview::SymbolKind > Kinds)

std::unique_ptr< PDBSymbol > getChildAtIndex(uint32_t Index) const override

std::unique_ptr< PDBSymbol > getNext() override

This is an optimization pass for GlobalISel generic memory operations.