#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) { … }
}