LLVM 20.0.0git
|
Log perf jitdump events for each object (see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jitdump-specification.txt). More...
#include "llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h"
Static Public Member Functions | |
static Expected< std::unique_ptr< PerfSupportPlugin > > | Create (ExecutorProcessControl &EPC, JITDylib &JD, bool EmitDebugInfo, bool EmitUnwindInfo) |
Additional Inherited Members | |
Public Types inherited from llvm::orc::ObjectLinkingLayer::Plugin | |
using | JITLinkSymbolSet = DenseSet< jitlink::Symbol * > |
using | SyntheticSymbolDependenciesMap = DenseMap< SymbolStringPtr, JITLinkSymbolSet > |
Log perf jitdump events for each object (see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jitdump-specification.txt).
Currently has support for dumping code load records and unwind info records.
Definition at line 27 of file PerfSupportPlugin.h.
PerfSupportPlugin::PerfSupportPlugin | ( | ExecutorProcessControl & | EPC, |
ExecutorAddr | RegisterPerfStartAddr, | ||
ExecutorAddr | RegisterPerfEndAddr, | ||
ExecutorAddr | RegisterPerfImplAddr, | ||
bool | EmitDebugInfo, | ||
bool | EmitUnwindInfo | ||
) |
Definition at line 255 of file PerfSupportPlugin.cpp.
References llvm::orc::ExecutorProcessControl::callSPSWrapper(), and llvm::cantFail().
PerfSupportPlugin::~PerfSupportPlugin | ( | ) |
Definition at line 266 of file PerfSupportPlugin.cpp.
References llvm::orc::ExecutorProcessControl::callSPSWrapper(), and llvm::cantFail().
|
static |
Definition at line 286 of file PerfSupportPlugin.cpp.
References llvm::orc::ExecutorProcessControl::getExecutionSession(), llvm::orc::ExecutorProcessControl::getTargetTriple(), llvm::inconvertibleErrorCode(), llvm::Triple::isOSBinFormatELF(), llvm::orc::lookupAndRecordAddrs(), llvm::orc::makeJITDylibSearchOrder(), and llvm::orc::Static.
|
overridevirtual |
Reimplemented from llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 270 of file PerfSupportPlugin.cpp.
References llvm::cantFail(), Config, llvm::orc::shared::WrapperFunctionCall::Create(), G, llvm::orc::ExecutorProcessControl::getExecutionSession(), and llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 40 of file PerfSupportPlugin.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 44 of file PerfSupportPlugin.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::ObjectLinkingLayer::Plugin.
Definition at line 48 of file PerfSupportPlugin.h.