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

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_EXECUTIONENGINE_ORC_PERFSUPPORTPLUGIN_H

14#define LLVM_EXECUTIONENGINE_ORC_PERFSUPPORTPLUGIN_H

15

18

21

22namespace llvm {

23namespace orc {

24

25

26

27

29public:

33 ExecutorAddr RegisterPerfImplAddr, bool EmitDebugInfo,

34 bool EmitUnwindInfo);

36

40

44

48

51

55

56private:

61 std::atomic<uint64_t> CodeIndex;

62 bool EmitDebugInfo;

64};

65

66}

67}

68

69#endif

static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info)

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.

Represents an address in the executor process.

ExecutorProcessControl supports interaction with a JIT target process.

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...

Error notifyFailed(MaterializationResponsibility &MR) override

Definition PerfSupportPlugin.h:41

void modifyPassConfig(MaterializationResponsibility &MR, jitlink::LinkGraph &G, jitlink::PassConfiguration &Config) override

PerfSupportPlugin(ExecutorProcessControl &EPC, ExecutorAddr RegisterPerfStartAddr, ExecutorAddr RegisterPerfEndAddr, ExecutorAddr RegisterPerfImplAddr, bool EmitDebugInfo, bool EmitUnwindInfo)

Error notifyRemovingResources(JITDylib &JD, ResourceKey K) override

Definition PerfSupportPlugin.h:45

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

Definition PerfSupportPlugin.h:49

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...