llvm/llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp

//===-- llvm-jitlink-macho.cpp -- MachO parsing support for llvm-jitlink --===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// MachO parsing support for llvm-jitlink.
//
//===----------------------------------------------------------------------===//

#include "llvm-jitlink.h"

#include "llvm/Support/Error.h"
#include "llvm/Support/Path.h"

#define DEBUG_TYPE

usingnamespacellvm;
usingnamespacellvm::jitlink;

static bool isMachOGOTSection(Section &S) {}

static bool isMachOStubsSection(Section &S) {}

static Expected<Edge &> getFirstRelocationEdge(LinkGraph &G, Block &B) {}

static Expected<Symbol &> getMachOGOTTarget(LinkGraph &G, Block &B) {}

static Expected<Symbol &> getMachOStubTarget(LinkGraph &G, Block &B) {}

namespace llvm {

Error registerMachOGraphInfo(Session &S, LinkGraph &G) {}

} // end namespace llvm