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) |
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 254 of file PerfSupportPlugin.cpp.
References llvm::orc::ExecutorProcessControl::callSPSWrapper(), and llvm::cantFail().
PerfSupportPlugin::~PerfSupportPlugin | ( | ) |
Definition at line 265 of file PerfSupportPlugin.cpp.
References llvm::orc::ExecutorProcessControl::callSPSWrapper(), and llvm::cantFail().
|
static |
Definition at line 285 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::LinkGraphLinkingLayer::Plugin.
Definition at line 269 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::LinkGraphLinkingLayer::Plugin.
Definition at line 40 of file PerfSupportPlugin.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::LinkGraphLinkingLayer::Plugin.
Definition at line 44 of file PerfSupportPlugin.h.
References llvm::Error::success().
|
inlineoverridevirtual |
Implements llvm::orc::LinkGraphLinkingLayer::Plugin.
Definition at line 48 of file PerfSupportPlugin.h.