LLVM 20.0.0git
Namespaces | Macros | Functions
JITLink.cpp File Reference
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/ExecutionEngine/JITLink/COFF.h"
#include "llvm/ExecutionEngine/JITLink/ELF.h"
#include "llvm/ExecutionEngine/JITLink/MachO.h"
#include "llvm/ExecutionEngine/JITLink/aarch64.h"
#include "llvm/ExecutionEngine/JITLink/i386.h"
#include "llvm/ExecutionEngine/JITLink/loongarch.h"
#include "llvm/ExecutionEngine/JITLink/x86_64.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 

Macros

#define DEBUG_TYPE   "jitlink"
 

Functions

const charllvm::jitlink::getGenericEdgeKindName (Edge::Kind K)
 Returns the string name of the given generic edge kind, or "unknown" otherwise.
 
const charllvm::jitlink::getLinkageName (Linkage L)
 For errors and debugging output.
 
const charllvm::jitlink::getScopeName (Scope S)
 For debugging output.
 
bool llvm::jitlink::isCStringBlock (Block &B)
 
raw_ostreamllvm::jitlink::operator<< (raw_ostream &OS, const Block &B)
 
raw_ostreamllvm::jitlink::operator<< (raw_ostream &OS, const Symbol &A)
 
void llvm::jitlink::printEdge (raw_ostream &OS, const Block &B, const Edge &E, StringRef EdgeKindName)
 
raw_ostreamllvm::jitlink::operator<< (raw_ostream &OS, const SymbolLookupFlags &LF)
 
Error llvm::jitlink::markAllSymbolsLive (LinkGraph &G)
 Marks all symbols in a graph live.
 
Error llvm::jitlink::makeTargetOutOfRangeError (const LinkGraph &G, const Block &B, const Edge &E)
 Create an out of range error for the given edge in the given block.
 
Error llvm::jitlink::makeAlignmentError (llvm::orc::ExecutorAddr Loc, uint64_t Value, int N, const Edge &E)
 
AnonymousPointerCreator llvm::jitlink::getAnonymousPointerCreator (const Triple &TT)
 Get target-specific AnonymousPointerCreator.
 
PointerJumpStubCreator llvm::jitlink::getPointerJumpStubCreator (const Triple &TT)
 Get target-specific PointerJumpStubCreator.
 
Expected< std::unique_ptr< LinkGraph > > llvm::jitlink::createLinkGraphFromObject (MemoryBufferRef ObjectBuffer)
 Create a LinkGraph from the given object buffer.
 
std::unique_ptr< LinkGraph > llvm::jitlink::absoluteSymbolsLinkGraph (const Triple &TT, orc::SymbolMap Symbols)
 Create a LinkGraph defining the given absolute symbols.
 
void llvm::jitlink::link (std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)
 Link the given graph.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "jitlink"

Definition at line 27 of file JITLink.cpp.