| static std::string |
llvm::orc::objDesc (const MemoryBufferRef &Obj, const Triple &TT, bool ObjIsSlice) |
| template |
|
| 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. |
| LLVM_ABI SmallVector< std::pair< uint32_t, uint32_t > > |
llvm::orc::noFallbackArchs (uint32_t CPUType, uint32_t CPUSubType) |
|
Match the exact CPU type/subtype only. |
| LLVM_ABI SmallVector< std::pair< uint32_t, uint32_t > > |
llvm::orc::standardMachOFallbackArchs (uint32_t CPUType, uint32_t CPUSubType) |
|
Match standard dynamic loader fallback rules. |
| LLVM_ABI Expected< SymbolNameSet > |
llvm::orc::getDylibInterfaceFromDylib (ExecutionSession &ES, Twine Path, GetFallbackArchsFn GetFallbackArchs=standardMachOFallbackArchs) |
|
Returns a SymbolNameSet containing the exported symbols defined in the given dylib. |
| LLVM_ABI Expected< SymbolNameSet > |
llvm::orc::getDylibInterfaceFromTapiFile (ExecutionSession &ES, Twine Path, GetFallbackArchsFn GetFallbackArchs=standardMachOFallbackArchs) |
|
Returns a SymbolNameSet containing the exported symbols defined in the relevant slice of the TapiUniversal file. |
| LLVM_ABI Expected< SymbolNameSet > |
llvm::orc::getDylibInterface (ExecutionSession &ES, Twine Path, GetFallbackArchsFn GetFallbackArchs=standardMachOFallbackArchs) |
|
Returns a SymbolNameSet containing the exported symbols defined in the relevant slice of the given file, which may be either a dylib or a tapi file. |