/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 42 static T getStruct(const MachOObjectFile *O, const char *P) { in getStruct() 66 getSegmentLoadCommandNumSections(const MachOObjectFile *O, in getSegmentLoadCommandNumSections() 67 const MachOObjectFile::LoadCommandInfo &L) { in getSegmentLoadCommandNumSections() 76 static bool isPageZeroSegment(const MachOObjectFile *O, in isPageZeroSegment() 77 const MachOObjectFile::LoadCommandInfo &L) { in isPageZeroSegment() 88 getSectionPtr(const MachOObjectFile *O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr() 102 static const char *getPtr(const MachOObjectFile *O, size_t Offset) { in getPtr() 107 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase() 127 static unsigned getCPUType(const MachOObjectFile *O) { in getCPUType() 131 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName() [all …]
|
D | CMakeLists.txt | 11 MachOObjectFile.cpp
|
D | MachOUniversal.cpp | 70 ErrorOr<std::unique_ptr<MachOObjectFile>> 138 ErrorOr<std::unique_ptr<MachOObjectFile>>
|
D | Android.mk | 13 MachOObjectFile.cpp \
|
/external/llvm/tools/macho-dump/ |
D | macho-dump.cpp | 70 static int DumpSectionData(const MachOObjectFile &Obj, unsigned Index, in DumpSectionData() 125 static int DumpSegmentCommand(const MachOObjectFile &Obj, in DumpSegmentCommand() 126 const MachOObjectFile::LoadCommandInfo &LCI) { in DumpSegmentCommand() 148 static int DumpSegment64Command(const MachOObjectFile &Obj, in DumpSegment64Command() 149 const MachOObjectFile::LoadCommandInfo &LCI) { in DumpSegment64Command() 172 static void DumpSymbolTableEntryData(const MachOObjectFile &Obj, in DumpSymbolTableEntryData() 188 static int DumpSymtabCommand(const MachOObjectFile &Obj) { in DumpSymtabCommand() 225 static int DumpDysymtabCommand(const MachOObjectFile &Obj) { in DumpDysymtabCommand() 260 DumpLinkeditDataCommand(const MachOObjectFile &Obj, in DumpLinkeditDataCommand() 261 const MachOObjectFile::LoadCommandInfo &LCI) { in DumpLinkeditDataCommand() [all …]
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 117 static void PrintDarwinSectionSizes(MachOObjectFile *MachO) { in PrintDarwinSectionSizes() 127 MachOObjectFile::LoadCommandInfo Load = MachO->getFirstLoadCommandInfo(); in PrintDarwinSectionSizes() 196 static void PrintDarwinSegmentSizes(MachOObjectFile *MachO) { in PrintDarwinSegmentSizes() 198 MachOObjectFile::LoadCommandInfo Load = MachO->getFirstLoadCommandInfo(); in PrintDarwinSegmentSizes() 286 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in PrintObjectSectionSizes() 398 if (isa<MachOObjectFile>(o) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags() 399 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in checkMachOAndArchFlags() 405 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags() 406 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags() 408 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 19 class MachOObjectFile; variable 61 void printMachOUnwindInfo(const object::MachOObjectFile* o); 62 void printMachOExportsTrie(const object::MachOObjectFile* o); 63 void printMachORebaseTable(const object::MachOObjectFile* o); 64 void printMachOBindTable(const object::MachOObjectFile* o); 65 void printMachOLazyBindTable(const object::MachOObjectFile* o); 66 void printMachOWeakBindTable(const object::MachOObjectFile* o);
|
D | llvm-objdump.cpp | 343 if (const MachOObjectFile *MachO = dyn_cast<const MachOObjectFile>(Obj)) { in DisassembleObject() 674 if (const MachOObjectFile *MachO = in PrintSymbolTable() 675 dyn_cast<const MachOObjectFile>(o)) { in PrintSymbolTable() 697 } else if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in PrintUnwindInfo() 709 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie() 720 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable() 731 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printBindTable() 742 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printLazyBindTable() 753 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printWeakBindTable()
|
D | MachODump.cpp | 145 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget() 278 MachOObjectFile *MachOObj, in getSectionsAndSymbols() 296 MachOObjectFile::LoadCommandInfo Command = in getSectionsAndSymbols() 323 static void PrintIndirectSymbolTable(MachOObjectFile *O, bool verbose, in PrintIndirectSymbolTable() 381 static void PrintIndirectSymbols(MachOObjectFile *O, bool verbose) { in PrintIndirectSymbols() 383 MachOObjectFile::LoadCommandInfo Load = O->getFirstLoadCommandInfo(); in PrintIndirectSymbols() 449 static void PrintDataInCodeTable(MachOObjectFile *O, bool verbose) { in PrintDataInCodeTable() 491 static void PrintLinkOptHints(MachOObjectFile *O) { in PrintLinkOptHints() 548 static void PrintDylibs(MachOObjectFile *O, bool JustId) { in PrintDylibs() 550 MachOObjectFile::LoadCommandInfo Load = O->getFirstLoadCommandInfo(); in PrintDylibs() [all …]
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 251 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit() 273 static void darwinPrintSymbol(MachOObjectFile *MachO, SymbolListT::iterator I, in darwinPrintSymbol() 286 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol() 296 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol() 503 static void darwinPrintStab(MachOObjectFile *MachO, SymbolListT::iterator I) { in darwinPrintStab() 581 if (JustSymbolName || (UndefinedOnly && isa<MachOObjectFile>(Obj))) { in sortAndPrintSymbolList() 605 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in sortAndPrintSymbolList() 730 static uint8_t getNType(MachOObjectFile &Obj, DataRefImpl Symb) { in getNType() 739 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar() 811 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() 121 populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection() 123 populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 132 const MachOObjectFile &Obj = in processSECTDIFFRelocation() 133 static_cast<const MachOObjectFile&>(BaseObjT); in processSECTDIFFRelocation() 192 const MachOObjectFile &Obj = in processI386ScatteredVANILLA() 193 static_cast<const MachOObjectFile&>(BaseObjT); in processI386ScatteredVANILLA() 225 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() 166 populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 206 const MachOObjectFile &MachO = in processHALFSECTDIFFRelocation() 207 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()
|
D | RuntimeDyldMachOAArch64.h | 250 const MachOObjectFile &Obj = in processRelocationRef() 251 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef()
|
/external/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 93 auto MachOOrError = CurrentObjectHolder.GetFileAs<MachOObjectFile>(Path); in switchToNewDebugMapObject() 104 static Triple getTriple(const object::MachOObjectFile &Obj) { in getTriple() 115 auto MainBinOrError = MainBinaryHolder.GetFileAs<MachOObjectFile>(BinaryPath); in parse() 119 const MachOObjectFile &MainBinary = *MainBinOrError; in parse() 222 const MachOObjectFile &MainBinary = MainBinaryHolder.GetAs<MachOObjectFile>(); in loadMainBinarySymbols()
|
/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 { 194 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits, 470 const MachOObjectFile *MachOOF = in getOffset() 471 static_cast<const MachOObjectFile *>(OwningObject); in getOffset() 478 const MachOObjectFile *MachOOF = in getLength() 479 static_cast<const MachOObjectFile *>(OwningObject); in getLength() 486 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 | ObjectFile.h | 31 class MachOObjectFile; variable 319 static ErrorOr<std::unique_ptr<MachOObjectFile>>
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.h | 68 const MachOObjectFile &Obj = in getRelocationEntry() 69 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationEntry() 107 static section_iterator getSectionByAddress(const MachOObjectFile &Obj, 112 void populateIndirectSymbolPointersSection(const MachOObjectFile &Obj,
|
D | RuntimeDyldMachO.cpp | 56 const MachOObjectFile &Obj = in getRelocationValueRef() 57 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationValueRef() 92 const MachOObjectFile &Obj = in makeValueAddendPCRel() 93 static_cast<const MachOObjectFile &>(BaseTObj); in makeValueAddendPCRel() 120 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() 138 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection()
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 30 MachODumper(const MachOObjectFile *Obj, StreamWriter& Writer) in MachODumper() 49 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 51 void printSections(const MachOObjectFile *Obj); 53 const MachOObjectFile *Obj; 64 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj); in createMachODumper() 292 static void getSection(const MachOObjectFile *Obj, in getSection() 321 static void getSymbol(const MachOObjectFile *Obj, in getSymbol() 389 void MachODumper::printSections(const MachOObjectFile *Obj) { in printSections() 485 void MachODumper::printRelocation(const MachOObjectFile *Obj, in printRelocation()
|
/external/llvm/tools/llvm-symbolizer/ |
D | LLVMSymbolize.cpp | 106 if (isa<MachOObjectFile>(Module)) in addSymbol() 335 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary() 336 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary() 345 const MachOObjectFile *MachExeObj, const std::string &ArchName) { in lookUpDsymFile() 361 const MachOObjectFile *MachDbgObj = in lookUpDsymFile() 362 dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile() 391 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjects()
|
D | LLVMSymbolize.h | 70 ObjectFile *lookUpDsymFile(const std::string &Path, const MachOObjectFile *ExeObj,
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachORelocationInfo.cpp | 28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObjectFile()); in createExprForRelocation()
|
/external/llvm/test/Object/ |
D | nm-darwin-m.test | 36 # to test that MachOObjectFile::guessLibraryShortName() is correctly parsing
|