Home
last modified time | relevance | path

Searched refs:macho (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/contrib/llvm-project/lld/MachO/
H A DRelocations.cpp19 using namespace lld::macho;
59 bool macho::validateSymbolRelocation(const Symbol *sym, in validateSymbolRelocation()
90 InputSection *macho::offsetToInputSection(uint64_t *off) { in offsetToInputSection()
120 void macho::reportRangeError(void *loc, const Reloc &r, const Twine &v, in reportRangeError()
133 void macho::reportRangeError(void *loc, SymbolDiagnostic d, const Twine &v, in reportRangeError()
143 const RelocAttrs macho::invalidRelocAttrs{"INVALID", RelocAttrBits::_0};
H A DInputSection.cpp28 using namespace lld::macho;
38 std::vector<ConcatInputSection *> macho::inputSections;
39 int macho::inputSectionsOrder = 0;
44 void lld::macho::addInputSection(InputSection *inputSection) { in addInputSection()
184 relocs, [=](const macho::Reloc &r) { return r.offset == off; }); in getRelocAt()
273 ConcatInputSection *macho::makeSyntheticInputSection(StringRef segName, in makeSyntheticInputSection()
367 bool macho::isCodeSection(const InputSection *isec) { in isCodeSection()
372 bool macho::isCfStringSection(const InputSection *isec) { in isCfStringSection()
377 bool macho::isClassRefsSection(const InputSection *isec) { in isClassRefsSection()
382 bool macho::isSelRefsSection(const InputSection *isec) { in isSelRefsSection()
[all …]
H A DBPSectionOrderer.cpp22 using namespace lld::macho;
28 using Section = macho::InputSection;
29 using Defined = macho::Defined;
35 return macho::isCodeSection(&sec); in isCodeSection()
87 getRelocHash(const macho::Reloc &reloc, in getRelocHash()
108 DenseMap<const InputSection *, int> lld::macho::runBalancedPartitioning( in runBalancedPartitioning()
H A DDriverUtils.cpp33 using namespace lld::macho;
152 std::string macho::createResponseFile(const InputArgList &args) { in createResponseFile()
207 std::optional<StringRef> macho::resolveDylibPath(StringRef dylibPath) { in resolveDylibPath()
240 DylibFile *macho::loadDylib(MemoryBufferRef mbref, DylibFile *umbrella, in loadDylib()
326 void macho::resetLoadedDylibs() { loadedDylibs.clear(); } in resetLoadedDylibs()
329 macho::findPathCombination(const Twine &name, in findPathCombination()
347 StringRef macho::rerootPath(StringRef path) { in rerootPath()
358 uint32_t macho::getModTime(StringRef path) { in getModTime()
371 void macho::printArchiveMemberLoad(StringRef reason, const InputFile *f) { in printArchiveMemberLoad()
378 macho::DependencyTracker::DependencyTracker(StringRef path) in DependencyTracker()
[all …]
H A DTarget.cpp12 using namespace lld::macho;
14 TargetInfo *macho::target = nullptr;
H A DSectionPriorities.cpp37 using namespace lld::macho;
39 PriorityBuilder macho::priorityBuilder;
250 macho::PriorityBuilder::getSymbolOrCStringPriority(const StringRef key, in getSymbolOrCStringPriority()
271 macho::PriorityBuilder::getSymbolPriority(const Defined *sym) { in getSymbolPriority()
278 void macho::PriorityBuilder::extractCallGraphProfile() { in extractCallGraphProfile()
298 void macho::PriorityBuilder::parseOrderFile(StringRef path) { in parseOrderFile()
364 macho::PriorityBuilder::buildInputSectionPriorities() { in buildInputSectionPriorities()
408 std::vector<StringPiecePair> macho::PriorityBuilder::buildCStringPriorities( in buildCStringPriorities()
H A DOutputSegment.cpp23 using namespace lld::macho;
194 void macho::sortOutputSegments() { in sortOutputSegments()
200 std::vector<OutputSegment *> macho::outputSegments;
202 void macho::resetOutputSegments() { in resetOutputSegments()
214 OutputSegment *macho::getOrCreateOutputSegment(StringRef name) { in getOrCreateOutputSegment()
H A DMapFile.cpp48 using namespace lld::macho;
135 const DenseMap<lld::macho::InputFile *, uint32_t> &readerToFileOrdinal, in printStubsEntries()
162 void macho::writeMapFile() { in writeMapFile()
185 DenseMap<lld::macho::InputFile *, uint32_t> readerToFileOrdinal; in writeMapFile()
H A DConcatOutputSection.cpp22 using namespace lld::macho;
24 MapVector<NamePair, ConcatOutputSection *> macho::concatOutputSections;
115 DenseMap<Symbol *, ThunkInfo> lld::macho::thunkMap;
486 NamePair macho::maybeRenameSection(NamePair key) { in maybeRenameSection()
H A DExportTrie.cpp47 using namespace lld::macho;
84 struct macho::TrieNode {
338 void macho::parseTrie(const uint8_t *buf, size_t size, in parseTrie()
H A DInputFiles.cpp82 using namespace lld::macho;
103 SetVector<InputFile *> macho::inputFiles;
104 std::unique_ptr<TarWriter> macho::tar;
212 DenseMap<CachedHashStringRef, MemoryBufferRef> macho::cachedReads;
214 std::optional<MemoryBufferRef> macho::readFile(StringRef path) { in readFile()
657 static macho::Symbol *createDefined(const NList &sym, StringRef name, in createDefined()
734 static macho::Symbol *createAbsolute(const NList &sym, InputFile *file, in createAbsolute()
755 macho::Symbol *ObjFile::parseNonSectionSymbol(const NList &sym, in parseNonSectionSymbol()
963 SmallVector<StringRef> macho::unprocessedLCLinkerOptions;
1216 macho::Symbol *personalitySymbol = nullptr;
[all …]
H A DMapFile.h12 namespace lld::macho {
H A DMarkLive.h12 namespace lld::macho {
H A DSymbolTable.cpp22 using namespace lld::macho;
469 void macho::reportPendingDuplicateSymbols() { in reportPendingDuplicateSymbols()
667 void macho::reportPendingUndefinedSymbols() { in reportPendingUndefinedSymbols()
677 void macho::treatUndefinedSymbol(const Undefined &sym, StringRef source) { in treatUndefinedSymbol()
684 void macho::treatUndefinedSymbol(const Undefined &sym, const InputSection *isec, in treatUndefinedSymbol()
692 std::unique_ptr<SymbolTable> macho::symtab;
H A DICF.cpp25 using namespace lld::macho;
492 void macho::markSymAsAddrSig(Symbol *s) { in markSymAsAddrSig()
498 void macho::markAddrSigSymbols() { in markAddrSigSymbols()
524 Defined *macho::getBodyForThunkFoldedSym(Defined *foldedSym) { in getBodyForThunkFoldedSym()
541 void macho::foldIdenticalSections(bool onlyCfStrings) { in foldIdenticalSections()
H A DSections.h14 namespace lld::macho::sections {
H A DBPSectionOrderer.h20 namespace lld::macho {
H A DICF.h16 namespace lld::macho {
H A DOutputSection.cpp14 using namespace lld::macho;
H A DUnwindInfoSection.h16 namespace lld::macho {
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DObjdumpOpts.td128 def macho : Flag<["--"], "macho">,
130 def : Flag<["-"], "m">, Alias<macho>, HelpText<"Alias for --macho">;
173 "With --macho dump segment,section">;
308 HelpText<"Print Mach-O universal headers (requires --macho)">,
313 "(requires --macho and --archive-headers)">,
317 HelpText<"Print indirect symbol table for Mach-O objects (requires --macho)">,
321 HelpText<"Print the data in code table for Mach-O objects (requires --macho)">,
326 "Options: addrs (default), names, both (requires --macho)">,
335 "Mach-O objects (requires --macho)">,
340 "Mach-O objects (requires --macho)">,
[all …]
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64Common.cpp17 using namespace lld::macho;
141 void macho::reportUnalignedLdrStr(void *loc, const lld::macho::Reloc &r, in reportUnalignedLdrStr()
149 void macho::reportUnalignedLdrStr(void *loc, lld::macho::SymbolDiagnostic d, in reportUnalignedLdrStr()
H A DARM64_32.cpp22 using namespace lld::macho;
119 TargetInfo *macho::createARM64_32TargetInfo() { in createARM64_32TargetInfo()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/
H A DObjCopy.cpp57 return macho::executeObjcopyOnBinary(Config.getCommonConfig(), *MachOConfig, in executeObjcopyOnBinary()
62 return macho::executeObjcopyOnMachOUniversalBinary( in executeObjcopyOnBinary()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DOpts.td69 def macho_data_in_code : FF<"macho-data-in-code", "Display Data in Code command">, Group<grp_mach_o…
70 def macho_dysymtab : FF<"macho-dysymtab", "Display Dysymtab command">, Group<grp_mach_o>;
71 def macho_indirect_symbols : FF<"macho-indirect-symbols", "Display indirect symbols">, Group<grp_ma…
72 def macho_linker_options : FF<"macho-linker-options", "Display linker options">, Group<grp_mach_o>;
73 def macho_segment : FF<"macho-segment", "Display Segment command">, Group<grp_mach_o>;
74 def macho_version_min : FF<"macho-version-min", "Display version min command">, Group<grp_mach_o>;

1234