9#ifndef LLVM_LIB_OBJCOPY_MACHO_MACHOREADER_H
10#define LLVM_LIB_OBJCOPY_MACHO_MACHOREADER_H
33 void readHeader(
Object &O)
const;
35 void readSymbolTable(
Object &O)
const;
36 void setSymbolInRelocationInfo(
Object &O)
const;
37 void readRebaseInfo(
Object &O)
const;
38 void readBindInfo(
Object &O)
const;
39 void readWeakBindInfo(
Object &O)
const;
40 void readLazyBindInfo(
Object &O)
const;
41 void readExportInfo(
Object &O)
const;
42 void readLinkData(
Object &O, std::optional<size_t> LCIndex,
44 void readCodeSignature(
Object &O)
const;
45 void readDataInCodeData(
Object &O)
const;
46 void readLinkerOptimizationHint(
Object &O)
const;
47 void readFunctionStartsData(
Object &O)
const;
48 void readDylibCodeSignDRs(
Object &O)
const;
49 void readExportsTrie(
Object &O)
const;
50 void readChainedFixups(
Object &O)
const;
51 void readIndirectSymbolTable(
Object &O)
const;
52 void readSwiftVersion(
Object &O)
const;
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
Expected< std::unique_ptr< Object > > create() const override
MachOReader(const object::MachOObjectFile &Obj)
virtual Expected< std::unique_ptr< Object > > create() const =0
This is an optimization pass for GlobalISel generic memory operations.