LLVM: lib/CodeGen/AsmPrinter/DwarfException.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H

14#define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFEXCEPTION_H

15

19

20namespace llvm {

23

25

26 bool shouldEmitPersonality = false;

27

28

29 bool forceEmitPersonality = false;

30

31

32 bool shouldEmitLSDA = false;

33

34

35 bool shouldEmitCFI = false;

36

37

38 bool hasEmittedCFISections = false;

39

40

41 std::vector<const GlobalValue *> Personalities;

42

43 void addPersonality(const GlobalValue *Personality);

44

45public:

46

47

48

51

52

54

55

56

58

59

61

64};

65

67

68 bool shouldEmitCFI = false;

69

70

71 bool hasEmittedCFISections = false;

72

73 void emitTypeInfos(unsigned TTypeEncoding, MCSymbol *TTBaseLabel) override;

75

76public:

77

78

79

82

83

85

86

87

89

90

92

93 void markFunctionEnd() override;

94};

95

97

98

99 void emitExceptionInfoTable(const MCSymbol *LSDA, const MCSymbol *PerSym);

100

101public:

103

107};

108}

109

110#endif

static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")

#define LLVM_LIBRARY_VISIBILITY

void beginFunction(const MachineFunction *MF) override

Gather pre-function debug information.

Definition DwarfException.h:105

void endModule() override

Emit all sections that should come after the content.

Definition DwarfException.h:104

AIXException(AsmPrinter *A)

ARMException(AsmPrinter *A)

void endModule() override

Emit all exception information that should come after the content.

Definition DwarfException.h:84

This class is intended to be used as a driving class for all asm writers.

void endBasicBlockSection(const MachineBasicBlock &MBB) override

Process the end of a basic-block-section within a function.

~DwarfCFIException() override

void beginBasicBlockSection(const MachineBasicBlock &MBB) override

Process the beginning of a new basic-block-section within a function.

void endFunction(const MachineFunction *) override

Gather and emit post-function exception information.

void endModule() override

Emit all exception information that should come after the content.

DwarfCFIException(AsmPrinter *A)

void beginFunction(const MachineFunction *MF) override

Gather pre-function exception information.

EHStreamer(AsmPrinter *A)

MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...

This is an optimization pass for GlobalISel generic memory operations.