LLVM 22.0.0git
MachO.cpp File Reference

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

LLVM_ABI Expected< std::unique_ptr< LinkGraph > > llvm::jitlink::createLinkGraphFromMachOObject (MemoryBufferRef ObjectBuffer, std::shared_ptr< orc::SymbolStringPool > SSP)
 Create a LinkGraph from a MachO relocatable object.
LLVM_ABI void llvm::jitlink::link_MachO (std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)
 jit-link the given ObjBuffer, which must be a MachO object file.
template<typename MachOHeaderType>
static Expected< Block & > llvm::jitlink::createLocalHeaderBlock (LinkGraph &G, Section &Sec)
LLVM_ABI Expected< Symbol & > llvm::jitlink::getOrCreateLocalMachOHeader (LinkGraph &G)
 Gets or creates a MachO header for the current LinkGraph.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "jitlink"

Definition at line 22 of file MachO.cpp.