LLVM: include/llvm/ExecutionEngine/Orc/UnwindInfoRegistrationPlugin.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_EXECUTIONENGINE_ORC_UNWINDINFOREGISTRATIONPLUGIN_H
14#define LLVM_EXECUTIONENGINE_ORC_UNWINDINFOREGISTRATIONPLUGIN_H
15
18
20
23public:
26 : ES(ES), Register(Register), Deregister(Deregister) {
27 DSOBaseName = ES.intern("__jitlink$libunwind_dso_base");
28 }
29
32
35
39
43
47
51
54
55private:
57
61};
62
63}
64
65#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.
Wrapper class representing virtual and physical registers.
An ExecutionSession represents a running JIT program.
Represents an address in the executor 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...
Pointer to a pooled string representing a symbol name.
void modifyPassConfig(MaterializationResponsibility &MR, jitlink::LinkGraph &G, jitlink::PassConfiguration &PassConfig) override
static Expected< std::shared_ptr< UnwindInfoRegistrationPlugin > > Create(ExecutionSession &ES, ExecutorAddr Register, ExecutorAddr Deregister)
void notifyTransferringResources(JITDylib &JD, ResourceKey DstKey, ResourceKey SrcKey) override
Definition UnwindInfoRegistrationPlugin.h:52
UnwindInfoRegistrationPlugin(ExecutionSession &ES, ExecutorAddr Register, ExecutorAddr Deregister)
Definition UnwindInfoRegistrationPlugin.h:24
Error notifyRemovingResources(JITDylib &JD, ResourceKey K) override
Definition UnwindInfoRegistrationPlugin.h:48
Error notifyFailed(MaterializationResponsibility &MR) override
Definition UnwindInfoRegistrationPlugin.h:44
Error notifyEmitted(MaterializationResponsibility &MR) override
Definition UnwindInfoRegistrationPlugin.h:40
An LinkGraph pass configuration, consisting of a list of pre-prune, post-prune, and post-fixup passes...