llvm/llvm/lib/ExecutionEngine/JITLink/COFF_x86_64.cpp

//===----- COFF_x86_64.cpp - JIT linker implementation for COFF/x86_64 ----===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// COFF/x86_64 jit-link implementation.
//
//===----------------------------------------------------------------------===//

#include "llvm/ExecutionEngine/JITLink/COFF_x86_64.h"
#include "COFFLinkGraphBuilder.h"
#include "JITLinkGeneric.h"
#include "SEHFrameSupport.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/ExecutionEngine/JITLink/x86_64.h"
#include "llvm/Object/COFF.h"
#include "llvm/Support/Endian.h"

#define DEBUG_TYPE

usingnamespacellvm;
usingnamespacellvm::jitlink;

namespace {

enum EdgeKind_coff_x86_64 : Edge::Kind {};

class COFFJITLinker_x86_64 : public JITLinker<COFFJITLinker_x86_64> {};

class COFFLinkGraphBuilder_x86_64 : public COFFLinkGraphBuilder {};

class COFFLinkGraphLowering_x86_64 {};

Error lowerEdges_COFF_x86_64(LinkGraph &G, JITLinkContext *Ctx) {}
} // namespace

namespace llvm {
namespace jitlink {

/// Return the string name of the given COFF x86_64 edge kind.
const char *getCOFFX86RelocationKindName(Edge::Kind R) {}

Expected<std::unique_ptr<LinkGraph>>
createLinkGraphFromCOFFObject_x86_64(MemoryBufferRef ObjectBuffer) {}

void link_COFF_x86_64(std::unique_ptr<LinkGraph> G,
                      std::unique_ptr<JITLinkContext> Ctx) {}

} // namespace jitlink
} // namespace llvm