#include "InputSection.h"
#include "ConcatOutputSection.h"
#include "Config.h"
#include "InputFiles.h"
#include "OutputSegment.h"
#include "Sections.h"
#include "Symbols.h"
#include "SyntheticSections.h"
#include "Target.h"
#include "UnwindInfoSection.h"
#include "Writer.h"
#include "lld/Common/ErrorHandler.h"
#include "lld/Common/Memory.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/xxhash.h"
usingnamespacellvm;
usingnamespacellvm::MachO;
usingnamespacellvm::support;
usingnamespacelld;
usingnamespacelld::macho;
static_assert …;
std::vector<ConcatInputSection *> macho::inputSections;
int macho::inputSectionsOrder = …;
void lld::macho::addInputSection(InputSection *inputSection) { … }
uint64_t InputSection::getFileSize() const { … }
uint64_t InputSection::getVA(uint64_t off) const { … }
static uint64_t resolveSymbolVA(const Symbol *sym, uint8_t type) { … }
const Defined *InputSection::getContainingSymbol(uint64_t off) const { … }
std::string InputSection::getLocation(uint64_t off) const { … }
std::string InputSection::getSourceLocation(uint64_t off) const { … }
const Reloc *InputSection::getRelocAt(uint32_t off) const { … }
void ConcatInputSection::foldIdentical(ConcatInputSection *copy,
Symbol::ICFFoldKind foldKind) { … }
void ConcatInputSection::writeTo(uint8_t *buf) { … }
ConcatInputSection *macho::makeSyntheticInputSection(StringRef segName,
StringRef sectName,
uint32_t flags,
ArrayRef<uint8_t> data,
uint32_t align) { … }
void CStringInputSection::splitIntoPieces() { … }
StringPiece &CStringInputSection::getStringPiece(uint64_t off) { … }
const StringPiece &CStringInputSection::getStringPiece(uint64_t off) const { … }
size_t CStringInputSection::getStringPieceIndex(uint64_t off) const { … }
uint64_t CStringInputSection::getOffset(uint64_t off) const { … }
WordLiteralInputSection::WordLiteralInputSection(const Section §ion,
ArrayRef<uint8_t> data,
uint32_t align)
: … { … }
uint64_t WordLiteralInputSection::getOffset(uint64_t off) const { … }
bool macho::isCodeSection(const InputSection *isec) { … }
bool macho::isCfStringSection(const InputSection *isec) { … }
bool macho::isClassRefsSection(const InputSection *isec) { … }
bool macho::isSelRefsSection(const InputSection *isec) { … }
bool macho::isEhFrameSection(const InputSection *isec) { … }
bool macho::isGccExceptTabSection(const InputSection *isec) { … }
std::string lld::toString(const InputSection *isec) { … }