class Slice
Declaration
class Slice { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:34
Member Variables
- private const llvm::object::Binary* B
- private uint32_t CPUType
- private uint32_t CPUSubType
- private std::string ArchName
- private uint32_t P2Alignment
Method Overview
- private Slice(const llvm::object::IRObjectFile & IRO, uint32_t CPUType, uint32_t CPUSubType, std::string ArchName, uint32_t Align)
- public Slice(const llvm::object::MachOObjectFile & O)
- public Slice(const llvm::object::MachOObjectFile & O, uint32_t Align)
- public Slice(const llvm::object::Archive & A, uint32_t CPUType, uint32_t CPUSubType, std::string ArchName, uint32_t Align)
- public static Expected<llvm::object::Slice> create(const llvm::object::Archive & A, llvm::LLVMContext * LLVMCtx = nullptr)
- public static Expected<llvm::object::Slice> create(const llvm::object::IRObjectFile & IRO, uint32_t Align)
- public std::string getArchString() const
- public const llvm::object::Binary * getBinary() const
- public uint64_t getCPUID() const
- public uint32_t getCPUSubType() const
- public uint32_t getCPUType() const
- public uint32_t getP2Alignment() const
- public void setP2Alignment(uint32_t Align)
Methods
¶Slice(const llvm::object::IRObjectFile& IRO,
uint32_t CPUType,
uint32_t CPUSubType,
std::string ArchName,
uint32_t Align)
Slice(const llvm::object::IRObjectFile& IRO,
uint32_t CPUType,
uint32_t CPUSubType,
std::string ArchName,
uint32_t Align)
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:45
Parameters
- const llvm::object::IRObjectFile& IRO
- uint32_t CPUType
- uint32_t CPUSubType
- std::string ArchName
- uint32_t Align
¶Slice(const llvm::object::MachOObjectFile& O)
Slice(const llvm::object::MachOObjectFile& O)
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:49
Parameters
- const llvm::object::MachOObjectFile& O
¶Slice(const llvm::object::MachOObjectFile& O,
uint32_t Align)
Slice(const llvm::object::MachOObjectFile& O,
uint32_t Align)
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:51
Parameters
- const llvm::object::MachOObjectFile& O
- uint32_t Align
¶Slice(const llvm::object::Archive& A,
uint32_t CPUType,
uint32_t CPUSubType,
std::string ArchName,
uint32_t Align)
Slice(const llvm::object::Archive& A,
uint32_t CPUType,
uint32_t CPUSubType,
std::string ArchName,
uint32_t Align)
Description
This constructor takes pre-specified
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:56
Parameters
- const llvm::object::Archive& A
- uint32_t CPUType
- ,
- uint32_t CPUSubType
- ,
- std::string ArchName
- ,
- uint32_t Align
- instead of inferring them from the archive members.
¶static Expected<llvm::object::Slice> create(
const llvm::object::Archive& A,
llvm::LLVMContext* LLVMCtx = nullptr)
static Expected<llvm::object::Slice> create(
const llvm::object::Archive& A,
llvm::LLVMContext* LLVMCtx = nullptr)
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:59
Parameters
- const llvm::object::Archive& A
- llvm::LLVMContext* LLVMCtx = nullptr
¶static Expected<llvm::object::Slice> create(
const llvm::object::IRObjectFile& IRO,
uint32_t Align)
static Expected<llvm::object::Slice> create(
const llvm::object::IRObjectFile& IRO,
uint32_t Align)
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:62
Parameters
- const llvm::object::IRObjectFile& IRO
- uint32_t Align
¶std::string getArchString() const
std::string getArchString() const
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:78
¶const llvm::object::Binary* getBinary() const
const llvm::object::Binary* getBinary() const
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:66
¶uint64_t getCPUID() const
uint64_t getCPUID() const
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:74
¶uint32_t getCPUSubType() const
uint32_t getCPUSubType() const
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:70
¶uint32_t getCPUType() const
uint32_t getCPUType() const
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:68
¶uint32_t getP2Alignment() const
uint32_t getP2Alignment() const
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:72
¶void setP2Alignment(uint32_t Align)
void setP2Alignment(uint32_t Align)
Declared at: llvm/include/llvm/Object/MachOUniversalWriter.h:64
Parameters
- uint32_t Align