LLVM: include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.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_NATIVEENUMTYPES_H

10#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEENUMTYPES_H

11

16

17#include

18

19namespace llvm {

22}

23namespace pdb {

24

26

28public:

31 std::vectorcodeview::TypeLeafKind Kinds);

32

34 std::vectorcodeview::TypeIndex Indices);

35

38 std::unique_ptr getNext() override;

39 void reset() override;

40

41private:

42 std::vectorcodeview::TypeIndex Matches;

45};

46

47}

48}

49

50#endif

Provides amortized O(1) random access to a CodeView type stream.

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

NativeEnumTypes(NativeSession &Session, codeview::LazyRandomTypeCollection &TypeCollection, std::vector< codeview::TypeLeafKind > Kinds)

uint32_t getChildCount() const override

std::unique_ptr< PDBSymbol > getNext() override

This is an optimization pass for GlobalISel generic memory operations.