/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 43 static T getStruct(const MachOObjectFile *O, const char *P) { in getStruct() 56 static ErrorOr<T> getStructOrErr(const MachOObjectFile *O, const char *P) { in getStructOrErr() 69 getSectionPtr(const MachOObjectFile *O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr() 83 static const char *getPtr(const MachOObjectFile *O, size_t Offset) { in getPtr() 88 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase() 108 static unsigned getCPUType(const MachOObjectFile *O) { in getCPUType() 122 static bool getPlainRelocationPCRel(const MachOObjectFile *O, in getPlainRelocationPCRel() 130 getScatteredRelocationPCRel(const MachOObjectFile *O, in getScatteredRelocationPCRel() 135 static unsigned getPlainRelocationLength(const MachOObjectFile *O, in getPlainRelocationLength() 147 static unsigned getPlainRelocationType(const MachOObjectFile *O, in getPlainRelocationType() [all …]
|
D | SymbolSize.cpp | 35 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSectionID() 41 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSymbolSectionID()
|
D | MachOUniversal.cpp | 70 ErrorOr<std::unique_ptr<MachOObjectFile>> 126 ErrorOr<std::unique_ptr<MachOObjectFile>>
|
D | CMakeLists.txt | 12 MachOObjectFile.cpp
|
D | Android.mk | 15 MachOObjectFile.cpp \
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 118 static void PrintDarwinSectionSizes(MachOObjectFile *MachO) { in PrintDarwinSectionSizes() 191 static void PrintDarwinSegmentSizes(MachOObjectFile *MachO) { in PrintDarwinSegmentSizes() 274 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in PrintObjectSectionSizes() 386 if (isa<MachOObjectFile>(o) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags() 387 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in checkMachOAndArchFlags() 393 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags() 394 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags() 396 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags() 397 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype); in checkMachOAndArchFlags() 443 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in PrintFileSectionSizes() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 19 class MachOObjectFile; variable 62 void printMachOUnwindInfo(const object::MachOObjectFile* o); 63 void printMachOExportsTrie(const object::MachOObjectFile* o); 64 void printMachORebaseTable(const object::MachOObjectFile* o); 65 void printMachOBindTable(const object::MachOObjectFile* o); 66 void printMachOLazyBindTable(const object::MachOObjectFile* o); 67 void printMachOWeakBindTable(const object::MachOObjectFile* o);
|
D | llvm-objdump.cpp | 517 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName() 582 static std::error_code getRelocationValueString(const MachOObjectFile *Obj, in getRelocationValueString() 767 auto *MachO = cast<MachOObjectFile>(Obj); in getRelocationValueString() 776 auto *MachO = dyn_cast<MachOObjectFile>(Obj); in getHidden() 968 if (const MachOObjectFile *MachO = dyn_cast<const MachOObjectFile>(Obj)) { in DisassembleObject() 1311 if (const MachOObjectFile *MachO = in PrintSymbolTable() 1312 dyn_cast<const MachOObjectFile>(o)) { in PrintSymbolTable() 1342 } else if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in PrintUnwindInfo() 1354 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie() 1365 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable() [all …]
|
D | MachODump.cpp | 142 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget() 263 static void getSectionsAndSymbols(MachOObjectFile *MachOObj, in getSectionsAndSymbols() 302 static void PrintIndirectSymbolTable(MachOObjectFile *O, bool verbose, in PrintIndirectSymbolTable() 361 static void PrintIndirectSymbols(MachOObjectFile *O, bool verbose) { in PrintIndirectSymbols() 423 static void PrintDataInCodeTable(MachOObjectFile *O, bool verbose) { in PrintDataInCodeTable() 465 static void PrintLinkOptHints(MachOObjectFile *O) { in PrintLinkOptHints() 522 static void PrintDylibs(MachOObjectFile *O, bool JustId) { in PrintDylibs() 572 static void CreateSymbolAddressMap(MachOObjectFile *O, in CreateSymbolAddressMap() 611 static void DumpCstringSection(MachOObjectFile *O, const char *sect, in DumpCstringSection() 644 static void DumpLiteral4Section(MachOObjectFile *O, const char *sect, in DumpLiteral4Section() [all …]
|
/external/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 65 std::unique_ptr<DebugMap> parseOneBinary(const MachOObjectFile &MainBinary, 71 void loadMainBinarySymbols(const MachOObjectFile &MainBinary); 72 void loadCurrentObjectFileSymbols(const object::MachOObjectFile &Obj); 95 void dumpOneBinaryStab(const MachOObjectFile &MainBinary, 121 CurrentObjectHolder.GetFilesAs<MachOObjectFile>(Path, Timestamp); in switchToNewDebugMapObject() 129 CurrentObjectHolder.GetAs<MachOObjectFile>(Result->getTriple()); in switchToNewDebugMapObject() 139 static std::string getArchName(const object::MachOObjectFile &Obj) { in getArchName() 146 MachODebugMapParser::parseOneBinary(const MachOObjectFile &MainBinary, in parseOneBinary() 268 void MachODebugMapParser::dumpOneBinaryStab(const MachOObjectFile &MainBinary, in dumpOneBinaryStab() 304 MainBinaryHolder.GetFilesAs<MachOObjectFile>(BinaryPath); in dumpStab() [all …]
|
D | MachOUtils.cpp | 124 static void iterateOnSegments(const object::MachOObjectFile &Obj, in iterateOnSegments() 176 static unsigned transferSymbols(const object::MachOObjectFile &Obj, in transferSymbols() 203 getSection(const object::MachOObjectFile &Obj, in getSection() 205 const object::MachOObjectFile::LoadCommandInfo &LCI, unsigned Idx) { in getSection() 210 getSection(const object::MachOObjectFile &Obj, in getSection() 212 const object::MachOObjectFile::LoadCommandInfo &LCI, unsigned Idx) { in getSection() 226 const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment, in transferSegmentAndSections() 227 const object::MachOObjectFile &Obj, MCObjectWriter &Writer, in transferSegmentAndSections() 292 static bool isExecutable(const object::MachOObjectFile &Obj) { in isExecutable() 299 static bool hasLinkEditSegment(const object::MachOObjectFile &Obj) { in hasLinkEditSegment() [all …]
|
D | BinaryHolder.cpp | 22 Triple BinaryHolder::getTriple(const object::MachOObjectFile &Obj) { in getTriple() 177 if (const auto *MachO = dyn_cast<object::MachOObjectFile>(Obj.get())) { in getObjfileForArch()
|
D | BinaryHolder.h | 132 static Triple getTriple(const object::MachOObjectFile &Obj);
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 221 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit() 249 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol() 279 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol() 289 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol() 509 static void darwinPrintStab(MachOObjectFile *MachO, SymbolListT::iterator I) { in darwinPrintStab() 600 if ((JustSymbolName || (UndefinedOnly && isa<MachOObjectFile>(Obj) && in sortAndPrintSymbolList() 628 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in sortAndPrintSymbolList() 753 static uint8_t getNType(MachOObjectFile &Obj, DataRefImpl Symb) { in getNType() 762 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar() 819 if ((Symflags & object::SymbolRef::SF_Weak) && !isa<MachOObjectFile>(Obj)) { in getNMTypeChar() [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOI386.h | 38 const MachOObjectFile &Obj = in processRelocationRef() 39 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 120 populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection() 122 populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 131 const MachOObjectFile &Obj = in processSECTDIFFRelocation() 132 static_cast<const MachOObjectFile&>(BaseObjT); in processSECTDIFFRelocation() 186 void populateJumpTable(const MachOObjectFile &Obj, const SectionRef &JTSection, in populateJumpTable()
|
D | RuntimeDyldMachOARM.h | 57 const MachOObjectFile &Obj = in processRelocationRef() 58 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 168 populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 208 const MachOObjectFile &MachO = in processHALFSECTDIFFRelocation() 209 static_cast<const MachOObjectFile&>(BaseTObj); in processHALFSECTDIFFRelocation()
|
D | RuntimeDyldMachOX86_64.h | 38 const MachOObjectFile &Obj = in processRelocationRef() 39 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 150 const MachOObjectFile &Obj = in processSubtractRelocation() 151 static_cast<const MachOObjectFile&>(BaseObjT); in processSubtractRelocation()
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 31 MachODumper(const MachOObjectFile *Obj, StreamWriter& Writer) in MachODumper() 59 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 61 void printSections(const MachOObjectFile *Obj); 63 const MachOObjectFile *Obj; 74 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj); in createMachODumper() 304 static void getSection(const MachOObjectFile *Obj, in getSection() 333 static void getSegment(const MachOObjectFile *Obj, in getSegment() 334 const MachOObjectFile::LoadCommandInfo &L, in getSegment() 365 static void getSymbol(const MachOObjectFile *Obj, in getSymbol() 433 void MachODumper::printSections(const MachOObjectFile *Obj) { in printSections() [all …]
|
/external/llvm/include/llvm/Object/ |
D | MachO.h | 73 friend class MachOObjectFile; 121 friend class MachOObjectFile; 163 friend class MachOObjectFile; 187 class MachOObjectFile : public ObjectFile { 196 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits, 489 const MachOObjectFile *MachOOF = in getOffset() 490 static_cast<const MachOObjectFile *>(OwningObject); in getOffset() 497 const MachOObjectFile *MachOOF = in getLength() 498 static_cast<const MachOObjectFile *>(OwningObject); in getLength() 505 const MachOObjectFile *MachOOF = in getKind() [all …]
|
D | MachOUniversal.h | 60 Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype); in getArchTypeName() 64 ErrorOr<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const; 111 ErrorOr<std::unique_ptr<MachOObjectFile>>
|
D | RelocVisitor.h | 57 if (isa<MachOObjectFile>(ObjToVisit)) 250 const MachOObjectFile *Obj = cast<MachOObjectFile>(R.getObject()); in getLengthMachO64()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.h | 68 const MachOObjectFile &Obj = in getRelocationEntry() 69 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationEntry() 111 static section_iterator getSectionByAddress(const MachOObjectFile &Obj, 116 void populateIndirectSymbolPointersSection(const MachOObjectFile &Obj,
|
D | RuntimeDyldMachO.cpp | 57 const MachOObjectFile &Obj = in processScatteredVANILLA() 58 static_cast<const MachOObjectFile&>(BaseObjT); in processScatteredVANILLA() 93 const MachOObjectFile &Obj = in getRelocationValueRef() 94 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationValueRef() 130 auto &O = *cast<MachOObjectFile>(RI->getObject()); in makeValueAddendPCRel() 150 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() 168 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection()
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 209 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary() 210 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary() 219 const MachOObjectFile *MachExeObj, const std::string &ArchName) { in lookUpDsymFile() 233 const MachOObjectFile *MachDbgObj = dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile() 276 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjectPair()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachORelocationInfo.cpp | 28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObject()); in createExprForRelocation()
|