llvm/llvm/lib/ExecutionEngine/Orc/Debugging/VTuneSupportPlugin.cpp

//===--- VTuneSupportPlugin.cpp -- Support for VTune profiler --*- C++ -*--===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Handles support for registering code with VIntel Tune's Amplfiier JIT API.
//
//===----------------------------------------------------------------------===//
#include "llvm/ExecutionEngine/Orc/Debugging/VTuneSupportPlugin.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h"

usingnamespacellvm;
usingnamespacellvm::orc;
usingnamespacellvm::jitlink;

static constexpr StringRef RegisterVTuneImplName =;
static constexpr StringRef UnregisterVTuneImplName =;
static constexpr StringRef RegisterTestVTuneImplName =;

static VTuneMethodBatch getMethodBatch(LinkGraph &G, bool EmitDebugInfo) {}

void VTuneSupportPlugin::modifyPassConfig(MaterializationResponsibility &MR,
                                          LinkGraph &G,
                                          PassConfiguration &Config) {}

Error VTuneSupportPlugin::notifyEmitted(MaterializationResponsibility &MR) {}

Error VTuneSupportPlugin::notifyFailed(MaterializationResponsibility &MR) {}

Error VTuneSupportPlugin::notifyRemovingResources(JITDylib &JD, ResourceKey K) {}

void VTuneSupportPlugin::notifyTransferringResources(JITDylib &JD,
                                                     ResourceKey DstKey,
                                                     ResourceKey SrcKey) {}

Expected<std::unique_ptr<VTuneSupportPlugin>>
VTuneSupportPlugin::Create(ExecutorProcessControl &EPC, JITDylib &JD,
                           bool EmitDebugInfo, bool TestMode) {}