LLVM 20.0.0git
Namespaces | Functions
MachO.h File Reference
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/ExecutionEngine/Orc/Shared/MachOObjectFormat.h"

Go to the source code of this file.

Namespaces

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

Functions

Expected< std::unique_ptr< LinkGraph > > llvm::jitlink::createLinkGraphFromMachOObject (MemoryBufferRef ObjectBuffer, std::shared_ptr< orc::SymbolStringPool > SSP)
 Create a LinkGraph from a MachO relocatable object.
 
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.
 
Section & llvm::jitlink::getMachODefaultRWDataSection (LinkGraph &G)
 Get a pointer to the standard MachO data section (creates an empty section with RW- permissions and standard lifetime if one does not already exist).
 
Section & llvm::jitlink::getMachODefaultTextSection (LinkGraph &G)
 Get a pointer to the standard MachO text section (creates an empty section with R-X permissions and standard lifetime if one does not already exist).