LLVM 20.0.0git
|
#include "llvm/Object/MachOUniversalWriter.h"
Public Member Functions | |
Slice (const MachOObjectFile &O) | |
Slice (const MachOObjectFile &O, uint32_t Align) | |
Slice (const Archive &A, uint32_t CPUType, uint32_t CPUSubType, std::string ArchName, uint32_t Align) | |
This constructor takes pre-specified. | |
void | setP2Alignment (uint32_t Align) |
const Binary * | getBinary () const |
uint32_t | getCPUType () const |
uint32_t | getCPUSubType () const |
uint32_t | getP2Alignment () const |
uint64_t | getCPUID () const |
std::string | getArchString () const |
Static Public Member Functions | |
static Expected< Slice > | create (const Archive &A, LLVMContext *LLVMCtx=nullptr) |
static Expected< Slice > | create (const IRObjectFile &IRO, uint32_t Align) |
Friends | |
bool | operator< (const Slice &Lhs, const Slice &Rhs) |
Definition at line 34 of file MachOUniversalWriter.h.
|
explicit |
Definition at line 101 of file MachOUniversalWriter.cpp.
Slice::Slice | ( | const MachOObjectFile & | O, |
uint32_t | Align | ||
) |
Definition at line 90 of file MachOUniversalWriter.cpp.
References string.
Slice::Slice | ( | const Archive & | A, |
uint32_t | CPUType, | ||
uint32_t | CPUSubType, | ||
std::string | ArchName, | ||
uint32_t | Align | ||
) |
This constructor takes pre-specified.
CPUType |
param CPUSubType ,
ArchName |
param Align instead of inferring them from the archive members.
Definition at line 85 of file MachOUniversalWriter.cpp.
|
static |
Definition at line 124 of file MachOUniversalWriter.cpp.
References A, llvm::Bin, create(), llvm::createFileError(), llvm::createStringError(), llvm::Expected< T >::get(), getMachoCPUFromObjectFile(), getMachoCPUFromTriple(), llvm::Error::success(), and llvm::Expected< T >::takeError().
Referenced by create().
|
static |
Definition at line 226 of file MachOUniversalWriter.cpp.
References llvm::Expected< T >::get(), llvm::object::MachOObjectFile::getArchTriple(), getMachoCPUFromTriple(), llvm::object::IRObjectFile::getTargetTriple(), and llvm::Expected< T >::takeError().
|
inline |
Definition at line 78 of file MachOUniversalWriter.h.
References llvm::MachO::CPU_SUBTYPE_MASK.
Definition at line 66 of file MachOUniversalWriter.h.
Referenced by llvm::object::writeUniversalBinary().
|
inline |
Definition at line 74 of file MachOUniversalWriter.h.
|
inline |
Definition at line 70 of file MachOUniversalWriter.h.
|
inline |
Definition at line 68 of file MachOUniversalWriter.h.
|
inline |
Definition at line 72 of file MachOUniversalWriter.h.
|
inline |
Definition at line 64 of file MachOUniversalWriter.h.
Definition at line 86 of file MachOUniversalWriter.h.