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

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_EXECUTIONENGINE_ORC_DEBUGINFOSUPPORT_H

14#define LLVM_EXECUTIONENGINE_ORC_DEBUGINFOSUPPORT_H

15

19

21

22namespace llvm {

23

24namespace orc {

25

27

28LLVM_ABI Expected<std::pair<std::unique_ptr,

29 StringMap<std::unique_ptr>>>

31

32

34public:

40

53

55 return std::make_unique();

56 }

57};

58

59}

60

61}

62

63#endif

Lightweight error class with error context and mandatory checking.

static ErrorSuccess success()

Create a success value.

Tagged union holding either a T or a Error.

Definition DebugInfoSupport.h:33

Error notifyFailed(MaterializationResponsibility &MR) override

Definition DebugInfoSupport.h:45

void modifyPassConfig(MaterializationResponsibility &MR, jitlink::LinkGraph &LG, jitlink::PassConfiguration &PassConfig) override

Definition DebugInfoSupport.h:35

static Expected< std::unique_ptr< DebugInfoPreservationPlugin > > Create()

Definition DebugInfoSupport.h:54

Error notifyRemovingResources(JITDylib &JD, ResourceKey K) override

Definition DebugInfoSupport.h:41

void notifyTransferringResources(JITDylib &JD, ResourceKey DstKey, ResourceKey SrcKey) override

Definition DebugInfoSupport.h:49

Represents a JIT'd dynamic library.

Plugin instances can be added to the ObjectLinkingLayer to receive callbacks when code is loaded or e...

Tracks responsibility for materialization, and mediates interactions between MaterializationUnits and...

LLVM_ABI Error preserveDebugSections(jitlink::LinkGraph &G)

LLVM_ABI Expected< std::pair< std::unique_ptr< DWARFContext >, StringMap< std::unique_ptr< MemoryBuffer > > > > createDWARFContext(jitlink::LinkGraph &G)

This is an optimization pass for GlobalISel generic memory operations.

An LinkGraph pass configuration, consisting of a list of pre-prune, post-prune, and post-fixup passes...

LinkGraphPassList PrePrunePasses

Pre-prune passes.