Lines Matching refs:MachOWriter
23 size_t MachOWriter::headerSize() const { in headerSize()
27 size_t MachOWriter::loadCommandsSize() const { return O.Header.SizeOfCmds; } in loadCommandsSize()
29 size_t MachOWriter::symTableSize() const { in symTableSize()
34 size_t MachOWriter::totalSize() const { in totalSize()
145 void MachOWriter::writeHeader() { in writeHeader()
165 void MachOWriter::writeLoadCommands() { in writeLoadCommands()
224 void MachOWriter::writeSectionInLoadCommand(const Section &Sec, uint8_t *&Out) { in writeSectionInLoadCommand()
248 void MachOWriter::writeSections() { in writeSections()
296 void MachOWriter::writeStringTable() { in writeStringTable()
307 void MachOWriter::writeSymbolTable() { in writeSymbolTable()
327 void MachOWriter::writeRebaseInfo() { in writeRebaseInfo()
339 void MachOWriter::writeBindInfo() { in writeBindInfo()
351 void MachOWriter::writeWeakBindInfo() { in writeWeakBindInfo()
363 void MachOWriter::writeLazyBindInfo() { in writeLazyBindInfo()
375 void MachOWriter::writeExportInfo() { in writeExportInfo()
387 void MachOWriter::writeIndirectSymbolTable() { in writeIndirectSymbolTable()
405 void MachOWriter::writeLinkData(Optional<size_t> LCIndex, const LinkData &LD) { in writeLinkData()
416 void MachOWriter::writeCodeSignatureData() { in writeCodeSignatureData()
420 void MachOWriter::writeDataInCodeData() { in writeDataInCodeData()
424 void MachOWriter::writeFunctionStartsData() { in writeFunctionStartsData()
428 void MachOWriter::writeTail() { in writeTail()
429 typedef void (MachOWriter::*WriteHandlerType)(void); in writeTail()
438 Queue.push_back({SymTabCommand.symoff, &MachOWriter::writeSymbolTable}); in writeTail()
440 Queue.push_back({SymTabCommand.stroff, &MachOWriter::writeStringTable}); in writeTail()
449 {DyLdInfoCommand.rebase_off, &MachOWriter::writeRebaseInfo}); in writeTail()
451 Queue.push_back({DyLdInfoCommand.bind_off, &MachOWriter::writeBindInfo}); in writeTail()
454 {DyLdInfoCommand.weak_bind_off, &MachOWriter::writeWeakBindInfo}); in writeTail()
457 {DyLdInfoCommand.lazy_bind_off, &MachOWriter::writeLazyBindInfo}); in writeTail()
460 {DyLdInfoCommand.export_off, &MachOWriter::writeExportInfo}); in writeTail()
470 &MachOWriter::writeIndirectSymbolTable); in writeTail()
480 &MachOWriter::writeCodeSignatureData); in writeTail()
490 &MachOWriter::writeDataInCodeData); in writeTail()
500 &MachOWriter::writeFunctionStartsData); in writeTail()
511 Error MachOWriter::finalize() { return LayoutBuilder.layout(); } in finalize()
513 Error MachOWriter::write() { in write()