/external/google-breakpad/src/tools/mac/dump_syms/ |
D | macho_dump.cc | 59 namespace mach_o = google_breakpad::mach_o; 73 class DumpSection: public mach_o::Reader::SectionHandler { 76 bool HandleSection(const mach_o::Section §ion) { in HandleSection() 84 mach_o::SectionFlags(section.flags), in HandleSection() 93 class DumpCommand: public mach_o::Reader::LoadCommandHandler { 95 DumpCommand(mach_o::Reader *reader) : reader_(reader), index_(0) { } in DumpCommand() 96 bool UnknownCommand(mach_o::LoadCommandType type, in UnknownCommand() 101 bool SegmentCommand(const mach_o::Segment &segment) { in SegmentCommand() 111 segment.initprot, mach_o::SegmentFlags(segment.flags), in SegmentCommand() 118 mach_o::Reader *reader_; [all …]
|
/external/google-breakpad/src/common/mac/ |
D | dump_syms.cc | 82 using google_breakpad::mach_o::FatReader; 83 using google_breakpad::mach_o::Section; 84 using google_breakpad::mach_o::Segment; 417 const mach_o::Reader &macho_reader, in ReadDwarf() 418 const mach_o::SectionMap &dwarf_sections, in ReadDwarf() 431 for (mach_o::SectionMap::const_iterator it = dwarf_sections.begin(); in ReadDwarf() 489 const mach_o::Reader &macho_reader, in ReadCFI() 490 const mach_o::Section §ion, in ReadCFI() 552 public mach_o::Reader::LoadCommandHandler { 558 const mach_o::Reader &reader, in LoadCommandDumper() [all …]
|
D | dump_syms.h | 146 const mach_o::Reader &macho_reader, 147 const mach_o::SectionMap &dwarf_sections, 156 const mach_o::Reader &macho_reader, 157 const mach_o::Section §ion,
|
/external/llvm-project/lld/include/lld/ReaderWriter/ |
D | MachOLinkingContext.h | 26 namespace mach_o { 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 { in allDylibs() 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::MachODylibFile*> _upwardDylibs; [all …]
|
D | YamlContext.h | 21 namespace mach_o { 27 using lld::mach_o::normalized::NormalizedFile;
|
/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | ArchHandler.cpp | 19 using namespace lld::mach_o::normalized; 22 namespace mach_o { namespace 31 std::unique_ptr<mach_o::ArchHandler> ArchHandler::create( in create() 53 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isLazyPointer() 157 if (ref->kindNamespace() == Reference::KindNamespace::mach_o && in fdeTargetFunction()
|
D | WriterMachO.cpp | 21 using lld::mach_o::normalized::NormalizedFile; 24 namespace mach_o { namespace 67 return std::unique_ptr<Writer>(new lld::mach_o::MachOWriter(context)); in createWriterMachO()
|
D | MachONormalizedFileFromAtoms.cpp | 42 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())) { in processAtomAttributes() 802 std::set<const mach_o::MachOFile*> filesWithStabs; in synthesizeDebugNotes() 821 if (const mach_o::MachOFile *atomFile = in synthesizeDebugNotes() 822 dyn_cast<mach_o::MachOFile>(&info.atom->file())) { in synthesizeDebugNotes() 824 if (isa<mach_o::DwarfDebugInfo>(atomFile->debugInfo())) in synthesizeDebugNotes() 826 else if (isa<mach_o::StabsDebugInfo>(atomFile->debugInfo())) in synthesizeDebugNotes() 856 const auto &atomFile = cast<mach_o::MachOFile>(atom->file()); in synthesizeDebugNotes() [all …]
|
D | ArchHandler.h | 23 namespace mach_o { 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();
|
D | MachOLinkingContext.cpp | 33 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); in isThinObjectFile() 165 return mach_o::normalized::sliceFromFatFile(mb, _arch, offset, size); in sliceFromFatFile() 643 mach_o::addObjCPass(pm, *this); in addPasses() 644 mach_o::addLayoutPass(pm, *this); in addPasses() 646 mach_o::addStubsPass(pm, *this); in addPasses() 648 mach_o::addCompactUnwindPass(pm, *this); in addPasses() 650 mach_o::addGOTPass(pm, *this); in addPasses() [all …]
|
D | ArchHandler_x86_64.cpp | 19 using namespace lld::mach_o::normalized; 22 namespace mach_o { namespace 43 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isGOTAccess() 62 assert(ref.kindNamespace() == Reference::KindNamespace::mach_o); in isTLVAccess() 68 assert(ref->kindNamespace() == Reference::KindNamespace::mach_o); in updateReferenceToTLV() 76 assert(ref->kindNamespace() == Reference::KindNamespace::mach_o); in updateReferenceToGOT() 341 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isCallSite() 348 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isPointer() 577 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupFinal() 661 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupRelocatable() [all …]
|
D | TLVPass.cpp | 22 namespace mach_o { namespace 123 tlvpEntry->addReference(Reference::KindNamespace::mach_o, nlInfo.arch, in makeTLVPEntry() 129 mach_o::ArchHandler &_archHandler;
|
D | GOTPass.cpp | 46 namespace mach_o { namespace 164 gotEntry->addReference(Reference::KindNamespace::mach_o, nlInfo.arch, in makeGOTEntry() 172 mach_o::ArchHandler &_archHandler;
|
D | ArchHandler_arm64.cpp | 20 using namespace lld::mach_o::normalized; 23 namespace mach_o { namespace 44 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isGOTAccess() 68 assert(ref->kindNamespace() == Reference::KindNamespace::mach_o); in updateReferenceToGOT() 316 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isCallSite() 323 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in isPointer() 589 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupFinal() 695 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupRelocatable() 779 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in appendSectionRelocations() 892 std::unique_ptr<mach_o::ArchHandler> ArchHandler::create_arm64() { in create_arm64() [all …]
|
D | StubsPass.cpp | 29 namespace mach_o { namespace 339 atom->addReference(Reference::KindNamespace::mach_o, in addReference() 347 atom->addReference(Reference::KindNamespace::mach_o, refInfo.arch, in addReferenceAddend() 357 atom->addReference(Reference::KindNamespace::mach_o, in addOptReference() 366 mach_o::ArchHandler &_archHandler;
|
D | MachONormalizedFileToAtoms.cpp | 40 using namespace lld::mach_o::normalized; 45 namespace mach_o { namespace 227 const std::vector<lld::mach_o::normalized::Symbol> &inSymbols, in appendSymbolsInSection() 229 SmallVector<const lld::mach_o::normalized::Symbol *, 64> &outSyms) { in appendSymbolsInSection() 230 for (const lld::mach_o::normalized::Symbol &sym : inSymbols) { in appendSymbolsInSection() 290 SmallVector<const lld::mach_o::normalized::Symbol *, 64> symbols; in processSymboledSection() 296 [](const lld::mach_o::normalized::Symbol *lhs, in processSymboledSection() 297 const lld::mach_o::normalized::Symbol *rhs) -> bool { in processSymboledSection() 344 const lld::mach_o::normalized::Symbol *lastSym = nullptr; in processSymboledSection() 345 for (const lld::mach_o::normalized::Symbol *sym : symbols) { in processSymboledSection() [all …]
|
D | ShimPass.cpp | 38 namespace mach_o { namespace 115 mach_o::ArchHandler &_archHandler;
|
D | ArchHandler_x86.cpp | 19 using namespace lld::mach_o::normalized; 22 namespace mach_o { namespace 443 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupFinal() 486 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupRelocatable() 559 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in appendSectionRelocations() 638 std::unique_ptr<mach_o::ArchHandler> ArchHandler::create_x86() { in create_x86() 639 return std::unique_ptr<mach_o::ArchHandler>(new ArchHandler_x86()); in create_x86()
|
D | CompactUnwindPass.cpp | 31 namespace mach_o { namespace 245 addReference(Reference::KindNamespace::mach_o, _archHandler.kindArch(), in addEhFrameReference() 251 addReference(Reference::KindNamespace::mach_o, _archHandler.kindArch(), in addImageReference() 256 addReference(Reference::KindNamespace::mach_o, _archHandler.kindArch(), in addImageReferenceIndirect() 261 mach_o::ArchHandler &_archHandler; 569 mach_o::ArchHandler &_archHandler;
|
D | ArchHandler_arm.cpp | 19 using namespace lld::mach_o::normalized; 22 namespace mach_o { namespace 909 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupFinal() 1072 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in applyFixupRelocatable() 1189 if (ref.kindNamespace() != Reference::KindNamespace::mach_o) in appendSectionRelocations() 1396 atom.addReference(Reference::KindNamespace::mach_o, in addAdditionalReferences() 1405 if (ref->kindNamespace() != Reference::KindNamespace::mach_o) in isThumbFunction() 1419 addReference(Reference::KindNamespace::mach_o, Reference::KindArch::ARM, in Thumb2ToArmShimAtom() 1421 addReference(Reference::KindNamespace::mach_o, Reference::KindArch::ARM, in Thumb2ToArmShimAtom() 1466 addReference(Reference::KindNamespace::mach_o, Reference::KindArch::ARM, in ArmToThumbShimAtom() [all …]
|
D | MachONormalizedFileBinaryReader.cpp | 53 namespace mach_o { namespace 604 add(std::unique_ptr<Reader>(new mach_o::normalized::MachOObjectReader(ctx))); in addSupportMachOObjects() 605 add(std::unique_ptr<Reader>(new mach_o::normalized::MachODylibReader(ctx))); in addSupportMachOObjects() 606 add(std::unique_ptr<Reader>(new mach_o::normalized::MachOTAPIReader(ctx))); in addSupportMachOObjects() 607 addKindTable(Reference::KindNamespace::mach_o, ctx.archHandler().kindArch(), in addSupportMachOObjects() 610 new mach_o::MachOYamlIOTaggedDocumentHandler(arch))); in addSupportMachOObjects()
|
D | MachOPasses.h | 16 namespace mach_o {
|
D | FlatNamespaceFile.h | 18 namespace mach_o {
|
/external/llvm-project/lld/include/lld/Common/ |
D | Driver.h | 45 namespace mach_o {
|
/external/llvm-project/lld/unittests/MachOTests/ |
D | MachONormalizedFileYAMLTests.cpp | 24 using lld::mach_o::normalized::NormalizedFile; 25 using lld::mach_o::normalized::Symbol; 26 using lld::mach_o::normalized::Section; 27 using lld::mach_o::normalized::Relocation; 32 = lld::mach_o::normalized::readYaml(mb); in fromYAML() 39 std::error_code ec = lld::mach_o::normalized::writeYaml(f, ostr); in toYAML()
|