llvm/llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp

//===---- llvm-jitlink-elf.cpp -- ELF 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
//
//===----------------------------------------------------------------------===//
//
// ELF 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 isELFGOTSection(Section &S) {}

static bool isELFStubsSection(Section &S) {}

static bool isELFAArch32StubsSection(Section &S) {}

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

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

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

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

enum SectionType {};

static Error registerSymbol(LinkGraph &G, Symbol &Sym, Session::FileInfo &FI,
                            SectionType SecType) {}

namespace llvm {

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

} // end namespace llvm