13#ifndef LLVM_EXECUTIONENGINE_ORC_DEBUGINFOSUPPORT_H
14#define LLVM_EXECUTIONENGINE_ORC_DEBUGINFOSUPPORT_H
27Expected<std::pair<std::unique_ptr<DWARFContext>,
28 StringMap<std::unique_ptr<MemoryBuffer>>>>
54 return std::make_unique<DebugInfoPreservationPlugin>();
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.
Error notifyFailed(MaterializationResponsibility &MR) override
void modifyPassConfig(MaterializationResponsibility &MR, jitlink::LinkGraph &LG, jitlink::PassConfiguration &PassConfig) override
static Expected< std::unique_ptr< DebugInfoPreservationPlugin > > Create()
Error notifyRemovingResources(JITDylib &JD, ResourceKey K) override
void notifyTransferringResources(JITDylib &JD, ResourceKey DstKey, ResourceKey SrcKey) override
Represents a JIT'd dynamic library.
Tracks responsibility for materialization, and mediates interactions between MaterializationUnits and...
Plugin instances can be added to the ObjectLinkingLayer to receive callbacks when code is loaded or e...
Error preserveDebugSections(jitlink::LinkGraph &G)
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.