LLVM: include/llvm/ExecutionEngine/Orc/DebugUtils.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H

14#define LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H

15

22#include

23#include

24

25namespace llvm {

26

28

29namespace orc {

30

31

32

33

35

36

39

40

43

44

45LLVM_ABI raw_ostream &operator<<(raw_ostream &OS, const JITSymbolFlags &Flags);

46

47

50

51

54

55

58

59

61

62

65

66

69

70

73

74

77

78

81

82

85

86

89

90

93

94

97

98

100

101

103

104

106

107

108

110public:

111

112

113

114

115

116

117

118

119

120

121

122

123

125 std::string IdentifierOverride = "");

126

127

129 operator()(std::unique_ptr Obj);

130

131private:

133 std::string DumpDir;

134 std::string IdentifierOverride;

135};

136

137}

138}

139

140#endif

static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")

Tagged union holding either a T or a Error.

This interface provides simple read-only access to a block of memory, and provides simple methods for...

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

LLVM_ABI Expected< std::unique_ptr< MemoryBuffer > > operator()(std::unique_ptr< MemoryBuffer > Obj)

Dumps the given buffer to disk.

LLVM_ABI DumpObjects(std::string DumpDir="", std::string IdentifierOverride="")

Construct a DumpObjects transform that will dump objects to disk.

A MaterializationUnit represents a set of symbol definitions that can be materialized as a group,...

A set of symbols to look up, each associated with a SymbolLookupFlags value.

std::pair< SymbolStringPtr, SymbolLookupFlags > value_type

String pool for symbol names used by the JIT.

std::vector< std::pair< JITDylib *, JITDylibLookupFlags > > JITDylibSearchOrder

A list of (JITDylib*, JITDylibLookupFlags) pairs to be used as a search order during symbol lookup.

LLVM_ABI raw_ostream & operator<<(raw_ostream &OS, const SymbolNameSet &Symbols)

Render a SymbolNameSet.

SymbolLookupFlags

Lookup flags that apply to each symbol in a lookup.

JITDylibLookupFlags

Lookup flags that apply to each dylib in the search order for a lookup.

DenseMap< SymbolStringPtr, ExecutorSymbolDef > SymbolMap

A map from symbol names (as SymbolStringPtrs) to JITSymbols (address/flags pairs).

LookupKind

Describes the kind of lookup being performed.

std::vector< SymbolStringPtr > SymbolNameVector

A vector of symbol names.

DenseMap< JITDylib *, SymbolNameSet > SymbolDependenceMap

A map from JITDylibs to sets of symbols.

DenseSet< SymbolStringPtr > SymbolNameSet

A set of symbol names (represented by SymbolStringPtrs for.

SymbolState

Represents the state that a symbol has reached during materialization.

DenseMap< SymbolStringPtr, SymbolAliasMapEntry > SymbolAliasMap

A map of Symbols to (Symbol, Flags) pairs.

DenseMap< SymbolStringPtr, JITSymbolFlags > SymbolFlagsMap

A map from symbol names (as SymbolStringPtrs) to JITSymbolFlags.

This is an optimization pass for GlobalISel generic memory operations.

ArrayRef(const T &OneElt) -> ArrayRef< T >