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

25#include

26#include

27#include

28

29namespace llvm {

30

32

35

36}

37

39

45

57

62

69

74

77 std::vector Lines;

78 std::vector Columns;

79};

80

82 std::vector<uint8_t> Bytes;

83};

84

90

96 std::vector Blocks;

97};

98

105

108 std::vector Sites;

109};

110

115

116 std::shared_ptrdetail::YAMLSubsectionBase Subsection;

117};

118

123

124LLVM_ABI std::vector

126

130

131}

132

133}

134

136

138

139#endif

#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)

Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.

#define LLVM_YAML_DECLARE_MAPPING_TRAITS(Type)

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

Tagged union holding either a T or a Error.

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

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

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

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

This is an optimization pass for GlobalISel generic memory operations.

FunctionAddr VTableAddr uintptr_t uintptr_t Data

BumpPtrAllocatorImpl<> BumpPtrAllocator

The standard BumpPtrAllocator which just uses the default template parameters.

std::vector< uint8_t > Bytes

Definition CodeViewYAMLDebugSections.h:82

std::vector< InlineeSite > Sites

Definition CodeViewYAMLDebugSections.h:108

bool HasExtraFiles

Definition CodeViewYAMLDebugSections.h:107

std::vector< StringRef > ExtraFiles

Definition CodeViewYAMLDebugSections.h:103

uint32_t Inlinee

Definition CodeViewYAMLDebugSections.h:100

uint32_t SourceLineNum

Definition CodeViewYAMLDebugSections.h:102

StringRef FileName

Definition CodeViewYAMLDebugSections.h:101

Definition CodeViewYAMLDebugSections.h:70

uint16_t EndColumn

Definition CodeViewYAMLDebugSections.h:72

uint16_t StartColumn

Definition CodeViewYAMLDebugSections.h:71

Definition CodeViewYAMLDebugSections.h:85

StringRef FileName

Definition CodeViewYAMLDebugSections.h:86

HexFormattedString ChecksumBytes

Definition CodeViewYAMLDebugSections.h:88

codeview::FileChecksumKind Kind

Definition CodeViewYAMLDebugSections.h:87

std::vector< SourceLineEntry > Lines

Definition CodeViewYAMLDebugSections.h:77

std::vector< SourceColumnEntry > Columns

Definition CodeViewYAMLDebugSections.h:78

StringRef FileName

Definition CodeViewYAMLDebugSections.h:76

Definition CodeViewYAMLDebugSections.h:63

uint32_t LineStart

Definition CodeViewYAMLDebugSections.h:65

bool IsStatement

Definition CodeViewYAMLDebugSections.h:67

uint32_t Offset

Definition CodeViewYAMLDebugSections.h:64

uint32_t EndDelta

Definition CodeViewYAMLDebugSections.h:66

uint32_t CodeSize

Definition CodeViewYAMLDebugSections.h:95

uint32_t RelocOffset

Definition CodeViewYAMLDebugSections.h:92

uint32_t RelocSegment

Definition CodeViewYAMLDebugSections.h:93

codeview::LineFlags Flags

Definition CodeViewYAMLDebugSections.h:94

std::vector< SourceLineBlock > Blocks

Definition CodeViewYAMLDebugSections.h:96

std::vector< uint32_t > ImportIds

Definition CodeViewYAMLDebugSections.h:60

StringRef ModuleName

Definition CodeViewYAMLDebugSections.h:59

std::shared_ptr< detail::YAMLSubsectionBase > Subsection

Definition CodeViewYAMLDebugSections.h:116

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

uint32_t SavedRegsSize

Definition CodeViewYAMLDebugSections.h:54

uint32_t Flags

Definition CodeViewYAMLDebugSections.h:55

StringRef FrameFunc

Definition CodeViewYAMLDebugSections.h:52

uint32_t MaxStackSize

Definition CodeViewYAMLDebugSections.h:51

uint32_t RvaStart

Definition CodeViewYAMLDebugSections.h:47

uint32_t PrologSize

Definition CodeViewYAMLDebugSections.h:53

uint32_t CodeSize

Definition CodeViewYAMLDebugSections.h:48

uint32_t LocalSize

Definition CodeViewYAMLDebugSections.h:49

uint32_t ParamsSize

Definition CodeViewYAMLDebugSections.h:50