LLVM: include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_OBJECTYAML_CODEVIEWYAMLDEBUGSECTIONS_H

15#define LLVM_OBJECTYAML_CODEVIEWYAMLDEBUGSECTIONS_H

16

24#include

25#include

26#include

27

28namespace llvm {

29

30namespace codeview {

31

32class StringsAndChecksums;

33class StringsAndChecksumsRef;

34

35}

36

37namespace CodeViewYAML {

38

40

42

43}

44

55};

56

60};

61

67};

68

72};

73

76 std::vector Lines;

77 std::vector Columns;

78};

79

81 std::vector<uint8_t> Bytes;

82};

83

88};

89

95 std::vector Blocks;

96};

97

103};

104

107 std::vector Sites;

108};

109

114

115 std::shared_ptrdetail::YAMLSubsectionBase Subsection;

116};

117

122

123std::vector

125

128

129}

130

131}

132

134

136

137#endif

#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)

#define LLVM_YAML_DECLARE_MAPPING_TRAITS(Type)

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

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

Tagged union holding either a T or a Error.

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

void initializeStringsAndChecksums(ArrayRef< YAMLDebugSubsection > Sections, codeview::StringsAndChecksums &SC)

Expected< std::vector< std::shared_ptr< codeview::DebugSubsection > > > toCodeViewSubsectionList(BumpPtrAllocator &Allocator, ArrayRef< YAMLDebugSubsection > Subsections, const codeview::StringsAndChecksums &SC)

std::vector< YAMLDebugSubsection > fromDebugS(ArrayRef< uint8_t > Data, const codeview::StringsAndChecksumsRef &SC)

This is an optimization pass for GlobalISel generic memory operations.

std::vector< uint8_t > Bytes

std::vector< InlineeSite > Sites

std::vector< StringRef > ExtraFiles

HexFormattedString ChecksumBytes

codeview::FileChecksumKind Kind

std::vector< SourceLineEntry > Lines

std::vector< SourceColumnEntry > Columns

codeview::LineFlags Flags

std::vector< SourceLineBlock > Blocks

std::vector< uint32_t > ImportIds

std::shared_ptr< detail::YAMLSubsectionBase > Subsection

static Expected< YAMLDebugSubsection > fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC, const codeview::DebugSubsectionRecord &SS)