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

22#include

23#include

24

25namespace llvm {

26

29

31

33

39

40}

41

49

51

55

56public:

59

63

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

65

68

69 Iterator begin() const { return Checksums.begin(); }

70 Iterator end() const { return Checksums.end(); }

71

72 const FileChecksumArray &getArray() const { return Checksums; }

73

74private:

75 FileChecksumArray Checksums;

76};

77

79public:

81

85

88

89 uint32_t calculateSerializedSize() const override;

92

93private:

95

99 std::vector Checksums;

100};

101

102}

103

104}

105

106#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.

Lightweight error class with error context and mandatory checking.

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

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

static bool classof(const DebugSubsectionRef *S)

Definition DebugChecksumsSubsection.h:60

LLVM_ABI Error initialize(BinaryStreamReader Reader)

Iterator begin() const

Definition DebugChecksumsSubsection.h:69

Iterator end() const

Definition DebugChecksumsSubsection.h:70

bool valid() const

Definition DebugChecksumsSubsection.h:64

DebugChecksumsSubsectionRef()

Definition DebugChecksumsSubsection.h:57

const FileChecksumArray & getArray() const

Definition DebugChecksumsSubsection.h:72

DebugChecksumsSubsection(DebugStringTableSubsection &Strings)

static bool classof(const DebugSubsection *S)

Definition DebugChecksumsSubsection.h:82

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

DebugSubsectionKind kind() const

DebugSubsectionRef(DebugSubsectionKind Kind)

DebugSubsection(DebugSubsectionKind Kind)

DebugSubsectionKind kind() const

This is an optimization pass for GlobalISel generic memory operations.

BumpPtrAllocatorImpl<> BumpPtrAllocator

The standard BumpPtrAllocator which just uses the default template parameters.

Definition DebugChecksumsSubsection.h:34

uint32_t FileNameOffset

Definition DebugChecksumsSubsection.h:35

FileChecksumKind Kind

Definition DebugChecksumsSubsection.h:36

ArrayRef< uint8_t > Checksum

Definition DebugChecksumsSubsection.h:37