|
LLVM 22.0.0git
|
Dumps symbol tables from LinkGraphs to enable backtrace symbolication. More...
#include "llvm/ExecutionEngine/Orc/BacktraceTools.h"
Static Public Member Functions | |
| static Expected< std::shared_ptr< SymbolTableDumpPlugin > > | Create (StringRef Path) |
| Create a SymbolTableDumpPlugin that will append symbol information to the file at the given path. | |
Dumps symbol tables from LinkGraphs to enable backtrace symbolication.
This plugin appends symbol information to a file in the following format: "<link graph name>" <address> <symbol name> <address> <symbol name> ...
Where addresses are in hexadecimal and symbol names are for defined symbols.
Definition at line 36 of file BacktraceTools.h.
| llvm::orc::SymbolTableDumpPlugin::SymbolTableDumpPlugin | ( | StringRef | Path, |
| std::error_code & | EC ) |
Create a SymbolTableDumpPlugin.
The resulting object is in an invalid state if, upon return, EC != std::error_code(). Prefer SymbolTableDumpPlugin::Create.
Definition at line 28 of file BacktraceTools.cpp.
Referenced by operator=(), operator=(), SymbolTableDumpPlugin(), and SymbolTableDumpPlugin().
|
delete |
References SymbolTableDumpPlugin().
|
delete |
References SymbolTableDumpPlugin().
|
static |
Create a SymbolTableDumpPlugin that will append symbol information to the file at the given path.
Definition at line 20 of file BacktraceTools.cpp.
References llvm::createFileError(), and P.
|
overridevirtual |
Reimplemented from llvm::orc::LinkGraphLinkingLayer::Plugin.
Definition at line 32 of file BacktraceTools.cpp.
References llvm::formatv(), G, llvm::orc::NoAlloc, llvm::jitlink::PassConfiguration::PostAllocationPasses, and llvm::Error::success().
Referenced by operator=().
|
inlineoverridevirtual |
Implements llvm::orc::LinkGraphLinkingLayer::Plugin.
Definition at line 57 of file BacktraceTools.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::LinkGraphLinkingLayer::Plugin.
Definition at line 61 of file BacktraceTools.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::LinkGraphLinkingLayer::Plugin.
Definition at line 65 of file BacktraceTools.h.
|
delete |
References SymbolTableDumpPlugin().
|
delete |
References G, modifyPassConfig(), and SymbolTableDumpPlugin().