LLVM 20.0.0git
|
Classes | |
struct | BindInfo |
The location of the bind info inside the binary is described by LC_DYLD_INFO load command. More... | |
struct | CodeSignatureInfo |
When MachO binaries include a LC_CODE_SIGNATURE load command, the __LINKEDIT data segment will include a section corresponding to the LC_CODE_SIGNATURE load command. More... | |
struct | ExportInfo |
The location of the export info inside the binary is described by LC_DYLD_INFO load command. More... | |
struct | IndirectSymbolEntry |
struct | IndirectSymbolTable |
struct | LazyBindInfo |
The location of the lazy bind info inside the binary is described by LC_DYLD_INFO load command. More... | |
struct | LinkData |
struct | LoadCommand |
struct | MachHeader |
class | MachOLayoutBuilder |
class | MachOReader |
class | MachOWriter |
struct | Object |
class | Reader |
struct | RebaseInfo |
The location of the rebase info inside the binary is described by LC_DYLD_INFO load command. More... | |
struct | RelocationInfo |
struct | Section |
struct | StringTable |
The location of the string table inside the binary is described by LC_SYMTAB load command. More... | |
struct | SymbolEntry |
struct | SymbolTable |
The location of the symbol table inside the binary is described by LC_SYMTAB load command. More... | |
struct | WeakBindInfo |
The location of the weak bind info inside the binary is described by LC_DYLD_INFO load command. More... | |
Functions | |
Error | executeObjcopyOnBinary (const CommonConfig &Config, const MachOConfig &MachOConfig, object::MachOObjectFile &In, raw_ostream &Out) |
Apply the transformations described by Config and MachOConfig to In and writes the result into Out . | |
Error | executeObjcopyOnMachOUniversalBinary (const MultiFormatConfig &Config, const object::MachOUniversalBinary &In, raw_ostream &Out) |
Apply the transformations described by Config and MachOConfig to In and writes the result into Out . | |
Error llvm::objcopy::macho::executeObjcopyOnBinary | ( | const CommonConfig & | Config, |
const MachOConfig & | MachOConfig, | ||
object::MachOObjectFile & | In, | ||
raw_ostream & | Out | ||
) |
Apply the transformations described by Config
and MachOConfig
to In
and writes the result into Out
.
Definition at line 448 of file MachOObjcopy.cpp.
References Config, llvm::objcopy::macho::Reader::create(), llvm::createFileError(), llvm::createStringError(), llvm::sys::path::filename(), llvm::objcopy::macho::MachOWriter::finalize(), handleArgs(), PageSize, and llvm::objcopy::macho::MachOWriter::write().
Referenced by llvm::objcopy::executeObjcopyOnBinary(), and executeObjcopyOnMachOUniversalBinary().
Error llvm::objcopy::macho::executeObjcopyOnMachOUniversalBinary | ( | const MultiFormatConfig & | Config, |
const object::MachOUniversalBinary & | In, | ||
raw_ostream & | Out | ||
) |
Apply the transformations described by Config
and MachOConfig
to In
and writes the result into Out
.
Definition at line 485 of file MachOObjcopy.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), Config, llvm::consumeError(), llvm::object::createBinary(), llvm::objcopy::createNewArchiveMembers(), llvm::createStringError(), llvm::SmallVectorImpl< T >::emplace_back(), executeObjcopyOnBinary(), llvm::object::Archive::K_BSD, llvm::object::Archive::K_DARWIN, llvm::Error::success(), llvm::Expected< T >::takeError(), llvm::writeArchiveToBuffer(), and llvm::object::writeUniversalBinaryToStream().
Referenced by llvm::objcopy::executeObjcopyOnBinary().