9#ifndef LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H
10#define LLVM_LIB_OBJCOPY_MACHO_MACHOLAYOUTBUILDER_H
68 void constructStringTable();
69 void updateSymbolIndexes();
81 : O(O), Is64Bit(Is64Bit), OutputFileName(OutputFileName),
83 StrTableBuilder(getStringTableBuilderKind(O, Is64Bit)) {}
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
Utility for building string tables with deduplicated suffixes.
StringTableBuilder & getStringTableBuilder()
const CodeSignatureInfo & getCodeSignature() const
MachOLayoutBuilder(Object &O, bool Is64Bit, StringRef OutputFileName, uint64_t PageSize)
This is an optimization pass for GlobalISel generic memory operations.
uint64_t alignTo(uint64_t Size, Align A)
Returns a multiple of A needed to store Size bytes.
When MachO binaries include a LC_CODE_SIGNATURE load command, the __LINKEDIT data segment will includ...
static constexpr size_t BlobHeadersSize
static constexpr size_t HashSize
static constexpr uint32_t FixedHeadersSize
static constexpr uint8_t BlockSizeShift
static constexpr size_t BlockSize
static constexpr uint32_t Align