LLVM 20.0.0git
Namespaces | Macros | Functions
MachO.cpp File Reference
#include "llvm/ExecutionEngine/Orc/MachO.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Object/MachOUniversal.h"

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 (MemoryBuffer &Obj, const Triple &TT, bool ObjIsSlice)
 
template<typename HeaderType >
static Expected< std::unique_ptr< MemoryBuffer > > llvm::orc::checkMachORelocatableObject (std::unique_ptr< MemoryBuffer > Obj, bool SwapEndianness, const Triple &TT, bool ObjIsSlice)
 
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.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 14 of file MachO.cpp.