LLVM: include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H

10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGCHECKSUMSSUBSECTION_H

11

21#include

22#include

23

24namespace llvm {

25

26class BinaryStreamReader;

27class BinaryStreamWriter;

28

29namespace codeview {

30

31class DebugStringTableSubsection;

32

37};

38

39}

40

42public:

44

47};

48

49namespace codeview {

50

54

55public:

58

61 }

62

63 bool valid() const { return Checksums.valid(); }

64

67

70

72

73private:

74 FileChecksumArray Checksums;

75};

76

78public:

80

83 }

84

87

91

92private:

94

98 std::vector Checksums;

99};

100

101}

102

103}

104

105#endif

This file defines the BumpPtrAllocator interface.

Lightweight arrays that are backed by an arbitrary BinaryStream.

This file defines the DenseMap class.

ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...

Provides read only access to a subclass of BinaryStream.

BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.

Provides write only access to a subclass of WritableBinaryStream.

Allocate memory in an ever growing pool, as if by bump-pointer.

Lightweight error class with error context and mandatory checking.

StringRef - Represent a constant reference to a string, i.e.

VarStreamArray represents an array of variable length records backed by a stream.

VarStreamArrayIterator< codeview::FileChecksumEntry, VarStreamArrayExtractor< codeview::FileChecksumEntry > > Iterator

Iterator begin(bool *HadError=nullptr) const

static bool classof(const DebugSubsectionRef *S)

Error initialize(BinaryStreamReader Reader)

DebugChecksumsSubsectionRef()

const FileChecksumArray & getArray() const

Error commit(BinaryStreamWriter &Writer) const override

uint32_t mapChecksumOffset(StringRef FileName) const

void addChecksum(StringRef FileName, FileChecksumKind Kind, ArrayRef< uint8_t > Bytes)

static bool classof(const DebugSubsection *S)

uint32_t calculateSerializedSize() const override

Represents a read-write view of a CodeView string table.

DebugSubsectionKind kind() const

DebugSubsectionKind kind() const

This is an optimization pass for GlobalISel generic memory operations.

ArrayRef< uint8_t > Checksum