LLVM 22.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. |
Configuration for the mach-o header of a JITDylib.
Specify common load commands that should be added to the header.
Definition at line 53 of file MachOPlatform.h.
|
default |
|
inline |
Definition at line 92 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 89 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 82 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 85 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 87 of file MachOPlatform.h.
Referenced by llvm::orc::createHeaderBlock().