13#ifndef LLVM_EXECUTIONENGINE_ORC_BACKTRACETOOLS_H
14#define LLVM_EXECUTIONENGINE_ORC_BACKTRACETOOLS_H
84 DumpedSymbolTable(std::unique_ptr<MemoryBuffer> SymtabBuffer);
93 std::map<uint64_t, SymbolInfo> SymbolInfos;
94 std::unique_ptr<MemoryBuffer> SymtabBuffer;
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.
StringRef - Represent a constant reference to a string, i.e.
LLVM_ABI std::string symbolicate(StringRef Backtrace)
Given a backtrace, try to symbolicate any unsymbolicated lines using the symbol addresses in the dump...
static Expected< DumpedSymbolTable > Create(StringRef Path)
Create a DumpedSymbolTable from the given path.
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...
void modifyPassConfig(MaterializationResponsibility &MR, jitlink::LinkGraph &G, jitlink::PassConfiguration &Config) override
void notifyTransferringResources(JITDylib &JD, ResourceKey DstKey, ResourceKey SrcKey) override
SymbolTableDumpPlugin(StringRef Path, std::error_code &EC)
Create a SymbolTableDumpPlugin.
static Expected< std::shared_ptr< SymbolTableDumpPlugin > > Create(StringRef Path)
Create a SymbolTableDumpPlugin that will append symbol information to the file at the given path.
SymbolTableDumpPlugin(const SymbolTableDumpPlugin &)=delete
SymbolTableDumpPlugin & operator=(const SymbolTableDumpPlugin &)=delete
SymbolTableDumpPlugin & operator=(SymbolTableDumpPlugin &&)=delete
Error notifyFailed(MaterializationResponsibility &MR) override
Error notifyRemovingResources(JITDylib &JD, ResourceKey K) override
SymbolTableDumpPlugin(SymbolTableDumpPlugin &&)=delete
A raw_ostream that writes to a file descriptor.
An LinkGraph pass configuration, consisting of a list of pre-prune, post-prune, and post-fixup passes...