Searched refs:mach_o (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/lld/include/lld/ReaderWriter/
H A DYamlContext.h21 namespace mach_o { namespace in namespace:lld
27 using lld::mach_o::normalized::NormalizedFile;
H A DMachOLinkingContext.h26 namespace mach_o { namespace in namespace:lld
119 mach_o::ArchHandler &archHandler() const;
364 void registerDylib(mach_o::MachODylibFile *dylib, bool upward) const;
373 mach_o::MachODylibFile* findIndirectDylib(StringRef path);
379 ArrayRef<mach_o::MachODylibFile*> allDylibs() const {
425 mach_o::MachODylibFile* loadIndirectDylib(StringRef path);
485 mutable std::unique_ptr<mach_o::ArchHandler> _archHandler;
488 mutable llvm::StringMap<mach_o::MachODylibFile*> _pathToDylibMap;
489 mutable std::vector<mach_o::MachODylibFile*> _allDylibs;
490 mutable std::set<mach_o
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachOPasses.h16 namespace mach_o { namespace in namespace:lld
26 } // namespace mach_o
H A DWriterMachO.cpp21 using lld::mach_o::normalized::NormalizedFile;
24 namespace mach_o { namespace in namespace:lld
64 } // namespace mach_o
67 return std::unique_ptr<Writer>(new lld::mach_o::MachOWriter(context));
H A DArchHandler.cpp19 using namespace lld::mach_o::normalized;
22 namespace mach_o { namespace in namespace:lld
31 std::unique_ptr<mach_o::ArchHandler> ArchHandler::create(
53 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
157 if (ref->kindNamespace() == Reference::KindNamespace::mach_o &&
167 } // namespace mach_o
H A DFlatNamespaceFile.h18 namespace mach_o { namespace in namespace:lld
59 } // namespace mach_o
H A DArchHandler.h23 namespace mach_o { namespace in namespace:lld
283 static std::unique_ptr<mach_o::ArchHandler> create_x86_64();
284 static std::unique_ptr<mach_o::ArchHandler> create_x86();
285 static std::unique_ptr<mach_o::ArchHandler> create_arm();
286 static std::unique_ptr<mach_o::ArchHandler> create_arm64();
319 } // namespace mach_o
H A DGOTPass.cpp46 namespace mach_o { namespace in namespace:lld
164 gotEntry->addReference(Reference::KindNamespace::mach_o, nlInfo.arch,
172 mach_o::ArchHandler &_archHandler;
182 } // end namespace mach_o
H A DTLVPass.cpp22 namespace mach_o { namespace in namespace:lld
123 tlvpEntry->addReference(Reference::KindNamespace::mach_o, nlInfo.arch,
129 mach_o::ArchHandler &_archHandler;
139 } // end namespace mach_o
H A DShimPass.cpp38 namespace mach_o { namespace in namespace:lld
115 mach_o::ArchHandler &_archHandler;
127 } // end namespace mach_o
H A DMachONormalizedFileFromAtoms.cpp42 using namespace lld::mach_o::normalized;
192 mach_o::ArchHandler &_archHandler;
208 std::vector<lld::mach_o::Stab> _stabs;
407 if (auto *machoFile = dyn_cast<mach_o::MachOFile>(&atom->file())) {
802 std::set<const mach_o::MachOFile*> filesWithStabs;
821 if (const mach_o::MachOFile *atomFile =
822 dyn_cast<mach_o::MachOFile>(&info.atom->file())) {
824 if (isa<mach_o::DwarfDebugInfo>(atomFile->debugInfo()))
826 else if (isa<mach_o::StabsDebugInfo>(atomFile->debugInfo()))
856 const auto &atomFile = cast<mach_o
1580 namespace mach_o { namespace in namespace:lld
[all...]
H A DStubsPass.cpp29 namespace mach_o { namespace in namespace:lld
339 atom->addReference(Reference::KindNamespace::mach_o,
347 atom->addReference(Reference::KindNamespace::mach_o, refInfo.arch,
357 atom->addReference(Reference::KindNamespace::mach_o,
366 mach_o::ArchHandler &_archHandler;
376 } // end namespace mach_o
H A DMachOLinkingContext.cpp33 using lld::mach_o::ArchHandler;
34 using lld::mach_o::MachOFile;
35 using lld::mach_o::MachODylibFile;
160 return mach_o::normalized::isThinObjectFile(path, arch);
165 return mach_o::normalized::sliceFromFatFile(mb, _arch, offset, size);
643 mach_o::addObjCPass(pm, *this);
644 mach_o::addLayoutPass(pm, *this);
646 mach_o::addStubsPass(pm, *this);
648 mach_o::addCompactUnwindPass(pm, *this);
650 mach_o
[all...]
H A DArchHandler_x86_64.cpp19 using namespace lld::mach_o::normalized;
22 namespace mach_o { namespace in namespace:lld
43 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
62 assert(ref.kindNamespace() == Reference::KindNamespace::mach_o);
68 assert(ref->kindNamespace() == Reference::KindNamespace::mach_o);
76 assert(ref->kindNamespace() == Reference::KindNamespace::mach_o);
341 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
348 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
577 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
661 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
[all...]
H A DObjCPass.cpp25 namespace mach_o { namespace in namespace:lld
130 } // end namespace mach_o
H A DSectCreateFile.h17 namespace mach_o { namespace in namespace:lld
98 } // namespace mach_o
H A DMachONormalizedFileToAtoms.cpp40 using namespace lld::mach_o::normalized;
45 namespace mach_o { namespace in namespace:lld
227 const std::vector<lld::mach_o::normalized::Symbol> &inSymbols,
229 SmallVector<const lld::mach_o::normalized::Symbol *, 64> &outSyms) {
230 for (const lld::mach_o::normalized::Symbol &sym : inSymbols) {
290 SmallVector<const lld::mach_o::normalized::Symbol *, 64> symbols;
296 [](const lld::mach_o::normalized::Symbol *lhs,
297 const lld::mach_o::normalized::Symbol *rhs) -> bool {
344 const lld::mach_o::normalized::Symbol *lastSym = nullptr;
345 for (const lld::mach_o
[all...]
H A DArchHandler_arm64.cpp20 using namespace lld::mach_o::normalized;
23 namespace mach_o { namespace in namespace:lld
44 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
68 assert(ref->kindNamespace() == Reference::KindNamespace::mach_o);
316 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
323 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
589 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
695 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
779 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
892 std::unique_ptr<mach_o
[all...]
H A DArchHandler_x86.cpp19 using namespace lld::mach_o::normalized;
22 namespace mach_o { namespace in namespace:lld
443 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
486 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
559 if (ref.kindNamespace() != Reference::KindNamespace::mach_o)
638 std::unique_ptr<mach_o::ArchHandler> ArchHandler::create_x86() {
639 return std::unique_ptr<mach_o::ArchHandler>(new ArchHandler_x86());
642 } // namespace mach_o
H A DCompactUnwindPass.cpp31 namespace mach_o { namespace in namespace:lld
245 addReference(Reference::KindNamespace::mach_o, _archHandler.kindArch(),
251 addReference(Reference::KindNamespace::mach_o, _archHandler.kindArch(),
256 addReference(Reference::KindNamespace::mach_o, _archHandler.kindArch(),
261 mach_o::ArchHandler &_archHandler;
569 mach_o::ArchHandler &_archHandler;
579 } // end namespace mach_o
H A DDebugInfo.h21 namespace mach_o { namespace in namespace:lld
103 } // end namespace mach_o
H A DExecutableAtoms.h26 namespace mach_o { namespace in namespace:lld
151 } // namespace mach_o
H A DLayoutPass.h25 namespace mach_o { namespace in namespace:lld
115 } // namespace mach_o
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Common/
H A DDriver.h31 namespace mach_o { namespace in namespace:lld
/freebsd-13-stable/contrib/llvm-project/lld/include/lld/Core/
H A DReference.h47 mach_o = 2, member in class:lld::Reference::KindNamespace

Completed in 185 milliseconds

12