|
LLVM 23.0.0git
|
Configuration for the mach-o header of a JITDylib. More...
#include "llvm/ExecutionEngine/Orc/MachOPlatform.h"
Classes | |
| struct | BuildVersionOpts |
| struct | Dylib |
| A dylib for use with a dylib command (e.g. LC_ID_DYLIB, LC_LOAD_DYLIB). More... | |
| struct | LoadDylibCmd |
Public Member Functions | |
| HeaderOptions ()=default | |
| HeaderOptions (Dylib D) | |
Public Attributes | |
| std::optional< Dylib > | IDDylib |
| Override for LC_IC_DYLIB. | |
| std::vector< LoadDylibCmd > | LoadDylibs |
| List of LC_LOAD_DYLIBs. | |
| std::vector< std::string > | RPaths |
| List of LC_RPATHs. | |
| std::vector< BuildVersionOpts > | BuildVersions |
| List of LC_BUILD_VERSIONs. | |
| std::optional< std::array< uint8_t, 16 > > | UUID |
| Optional UUID. If set, this will be used to add an LC_UUID command. | |
Configuration for the mach-o header of a JITDylib.
Specify common load commands that should be added to the header.
Definition at line 55 of file MachOPlatform.h.
|
default |
|
inline |
Definition at line 97 of file MachOPlatform.h.
References D(), IDDylib, and llvm::move().
| std::vector<BuildVersionOpts> llvm::orc::MachOPlatform::HeaderOptions::BuildVersions |
List of LC_BUILD_VERSIONs.
Definition at line 91 of file MachOPlatform.h.
Referenced by llvm::orc::createHeaderBlock().
| std::optional<Dylib> llvm::orc::MachOPlatform::HeaderOptions::IDDylib |
Override for LC_IC_DYLIB.
If this is nullopt, {JD.getName(), 0, 0, 0} will be used.
Definition at line 84 of file MachOPlatform.h.
Referenced by llvm::orc::createHeaderBlock(), and HeaderOptions().
| std::vector<LoadDylibCmd> llvm::orc::MachOPlatform::HeaderOptions::LoadDylibs |
List of LC_LOAD_DYLIBs.
Definition at line 87 of file MachOPlatform.h.
Referenced by llvm::orc::createHeaderBlock().
| std::vector<std::string> llvm::orc::MachOPlatform::HeaderOptions::RPaths |
List of LC_RPATHs.
Definition at line 89 of file MachOPlatform.h.
Referenced by llvm::orc::createHeaderBlock().
| std::optional<std::array<uint8_t, 16> > llvm::orc::MachOPlatform::HeaderOptions::UUID |
Optional UUID. If set, this will be used to add an LC_UUID command.
Definition at line 94 of file MachOPlatform.h.
Referenced by llvm::orc::createHeaderBlock().