LLVM 20.0.0git
Namespaces | Functions
MachO.h File Reference
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/TargetParser/Triple.h"

Go to the source code of this file.

Namespaces

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

Functions

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::unique_ptr< MemoryBuffer > > llvm::orc::loadMachORelocatableObject (StringRef Path, const Triple &TT)
 Load a relocatable object compatible with TT from Path.
 
Expected< std::unique_ptr< MemoryBuffer > > llvm::orc::loadMachORelocatableObjectFromUniversalBinary (StringRef UBPath, std::unique_ptr< MemoryBuffer > UBBuf, const Triple &TT)
 Load a compatible relocatable object (if available) from a MachO universal binary.
 
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.
 
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.