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

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_EXECUTIONENGINE_ORC_ABSOLUTESYMBOLS_H

14#define LLVM_EXECUTIONENGINE_ORC_ABSOLUTESYMBOLS_H

15

18

20

21

22

23

24

26public:

28

30

31private:

32 void materialize(std::unique_ptr R) override;

35

37};

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52inline std::unique_ptr

54 return std::make_unique(

55 std::move(Symbols));

56}

57

58}

59

60#endif

static StringRef getName(Value *V)

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

AbsoluteSymbolsMaterializationUnit(SymbolMap Symbols)

MaterializationUnit(Interface I)

Pointer to a pooled string representing a symbol name.

Definition AbsoluteSymbols.h:19

std::unique_ptr< AbsoluteSymbolsMaterializationUnit > absoluteSymbols(SymbolMap Symbols)

Create an AbsoluteSymbolsMaterializationUnit with the given symbols.

Definition AbsoluteSymbols.h:53

DenseMap< SymbolStringPtr, ExecutorSymbolDef > SymbolMap

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