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.
namespace  llvm::orc

Macros

#define DEBUG_TYPE   "orc"

Functions

static std::string llvm::orc::objDesc (const MemoryBufferRef &Obj, const Triple &TT, bool ObjIsSlice)
template<typename HeaderType>
static Error llvm::orc::checkMachORelocatableObject (MemoryBufferRef Obj, bool SwapEndianness, const Triple &TT, bool ObjIsSlice)
LLVM_ABI Error llvm::orc::checkMachORelocatableObject (MemoryBufferRef Obj, const Triple &TT, bool ObjIsSlice)
 Check that the given buffer contains a MachO object file compatible with the given triple.
LLVM_ABI Expected< std::unique_ptr< MemoryBuffer > > llvm::orc::checkMachORelocatableObject (std::unique_ptr< MemoryBuffer > Obj, const Triple &TT, bool ObjIsSlice)
 Check that the given buffer contains a MachO object file compatible with the given triple.
Expected< std::pair< std::unique_ptr< MemoryBuffer >, LinkableFileKind > > llvm::orc::loadMachORelocatableObject (StringRef Path, const Triple &TT, LoadArchives LA, std::optional< StringRef > IdentifierOverride)
LLVM_ABI Expected< std::pair< std::unique_ptr< MemoryBuffer >, LinkableFileKind > > llvm::orc::loadLinkableSliceFromMachOUniversalBinary (sys::fs::file_t FD, std::unique_ptr< MemoryBuffer > UBBuf, const Triple &TT, LoadArchives LA, StringRef UBPath, StringRef Identifier)
 Load a compatible relocatable object (if available) from a MachO universal binary.
LLVM_ABI Expected< std::pair< size_t, size_t > > llvm::orc::getMachOSliceRangeForTriple (object::MachOUniversalBinary &UB, const Triple &TT)
 Utility for identifying the file-slice compatible with TT in a universal binary.
LLVM_ABI Expected< std::pair< size_t, size_t > > llvm::orc::getMachOSliceRangeForTriple (MemoryBufferRef UBBuf, const Triple &TT)
 Utility for identifying the file-slice compatible with TT in a universal binary.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 18 of file MachO.cpp.