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

1

2

3

4

5

6

7

8

9#ifndef LLVM_DWARFLINKER_PARALLEL_DWARFLINKER_H

10#define LLVM_DWARFLINKER_PARALLEL_DWARFLINKER_H

11

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89namespace llvm {

92

93

99

101

103

105

107

109

110protected:

111

113

116};

117

119 std::function<void(std::shared_ptr Section)>;

120

122public:

124

125

126 LLVM_ABI static std::unique_ptr

128

129

130

131

134};

135

136}

137}

138}

139

140#endif

static fatal_error_handler_t ErrorHandler

A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...

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

Triple - Helper class for working with autoconf configuration names.

The base interface for DWARFLinker implementations.

std::function< void( const Twine &Warning, StringRef Context, const DWARFDie *DIE)> MessageHandlerTy

Definition DWARFLinker.h:121

virtual void setOutputDWARFHandler(const Triple &TargetTriple, SectionHandlerTy SectionHandler)=0

Set output DWARF handler.

~DWARFLinker() override=default

static LLVM_ABI std::unique_ptr< DWARFLinker > createLinker(MessageHandlerTy ErrorHandler, MessageHandlerTy WarningHandler)

Creates dwarf linker instance.

std::function< void(std::shared_ptr< SectionDescriptorBase > Section)> SectionHandlerTy

Definition DWARFLinker.h:118

static constexpr const StringLiteral & getSectionName(DebugSectionKind SectionKind)

Return the name of the section.

DebugSectionKind

List of tracked debug tables.

This is an optimization pass for GlobalISel generic memory operations.

A helper struct providing information about the byte size of DW_FORM values that vary in size dependi...

llvm::endianness getEndianess() const

Returns endianess used by section.

Definition DWARFLinker.h:106

DebugSectionKind SectionKind

The section kind.

Definition DWARFLinker.h:112

dwarf::FormParams getFormParams() const

Returns FormParams used by section.

Definition DWARFLinker.h:108

llvm::endianness Endianess

Definition DWARFLinker.h:115

DebugSectionKind getKind()

Returns section kind.

Definition DWARFLinker.h:102

SectionDescriptorBase(DebugSectionKind SectionKind, dwarf::FormParams Format, llvm::endianness Endianess)

Definition DWARFLinker.h:95

dwarf::FormParams Format

Output format.

Definition DWARFLinker.h:114

virtual StringRef getContents()=0

Returns section content.

const StringLiteral & getName() const

Returns section name.

Definition DWARFLinker.h:104

virtual ~SectionDescriptorBase()=default