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

1#ifndef LLVM_DWP_DWP_H

2#define LLVM_DWP_DWP_H

3

15#include

16#include

17

18namespace llvm {

24

30

37

38

39

40

42

44

45

47

48

50

51

53

54

55

57

58

59

61

62

64

65

66

68};

69

72 const char *Name = "";

74};

75

79

80typedef std::vector<std::pair<DWARFSectionKind, uint32_t>> SectionLengths;

81

83 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,

91 std::vector &CurTypesSection,

92 std::vector &CurInfoSection, StringRef &AbbrevSection,

95

98

104

108

114

115}

116#endif

Analysis containing CSE Info

This file implements a map that provides insertion order iteration.

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

Lightweight error class with error context and mandatory checking.

Tagged union holding either a T or a Error.

Instances of this class represent a uniqued identifier for a section in the current translation unit.

Streaming machine code generation interface.

This class implements a map that also provides access to all stored values in a deterministic order.

SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...

StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...

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

This is a value type class that represents a single section in the list of sections in the object fil...

unsigned ID

LLVM IR allows to use arbitrary numbers as calling convention identifiers.

DwarfFormat

Constants that define the DWARF format as 32 or 64 bit.

This is an optimization pass for GlobalISel generic memory operations.

LLVM_ABI Error buildDuplicateError(const std::pair< uint64_t, UnitIndexEntry > &PrevE, const CompileUnitIdentifiers &ID, StringRef DWPName)

LLVM_ABI void writeIndex(MCStreamer &Out, MCSection *Section, ArrayRef< unsigned > ContributionOffsets, const MapVector< uint64_t, UnitIndexEntry > &IndexEntries, uint32_t IndexVersion)

LLVM_ABI void writeStringsAndOffsets(MCStreamer &Out, DWPStringPool &Strings, MCSection *StrOffsetSection, StringRef CurStrSection, StringRef CurStrOffsetSection, uint16_t Version)

std::vector< std::pair< DWARFSectionKind, uint32_t > > SectionLengths

Definition DWP.h:80

FunctionAddr VTableAddr uintptr_t uintptr_t Version

LLVM_ABI Error handleSection(const StringMap< std::pair< MCSection *, DWARFSectionKind > > &KnownSections, const MCSection *StrSection, const MCSection *StrOffsetSection, const MCSection *TypesSection, const MCSection *CUIndexSection, const MCSection *TUIndexSection, const MCSection *InfoSection, const object::SectionRef &Section, MCStreamer &Out, std::deque< SmallString< 32 > > &UncompressedSections, uint32_t(&ContributionOffsets)[8], UnitIndexEntry &CurEntry, StringRef &CurStrSection, StringRef &CurStrOffsetSection, std::vector< StringRef > &CurTypesSection, std::vector< StringRef > &CurInfoSection, StringRef &AbbrevSection, StringRef &CurCUIndexSection, StringRef &CurTUIndexSection, SectionLengths &SectionLength)

LLVM_ABI Error write(MCStreamer &Out, ArrayRef< std::string > Inputs, OnCuIndexOverflow OverflowOptValue, Dwarf64StrOffsetsPromotion StrOffsetsOptValue)

LLVM_ABI Expected< InfoSectionUnitHeader > parseInfoSectionUnitHeader(StringRef Info)

OnCuIndexOverflow

Definition DWP.h:19

@ SoftStop

Definition DWP.h:21

@ HardStop

Definition DWP.h:20

@ Continue

Definition DWP.h:22

Dwarf64StrOffsetsPromotion

Definition DWP.h:25

@ Enabled

Convert any .debug_str_offsets tables to DWARF64 if needed.

Definition DWP.h:27

@ Always

Always emit .debug_str_offsets talbes as DWARF64 for testing.

Definition DWP.h:28

@ Disabled

Don't do any conversion of .debug_str_offsets tables.

Definition DWP.h:26

const char * DWOName

Definition DWP.h:73

uint64_t Signature

Definition DWP.h:71

const char * Name

Definition DWP.h:72

StringRef DWPName

Definition DWP.h:35

std::string DWOName

Definition DWP.h:34

DWARFUnitIndex::Entry::SectionContribution Contributions[8]

Definition DWP.h:32

std::string Name

Definition DWP.h:33