/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 50 static T getStruct(const MachOObjectFile *O, const char *P) { in getStruct() 63 static Expected<T> getStructOrErr(const MachOObjectFile *O, const char *P) { in getStructOrErr() 76 getSectionPtr(const MachOObjectFile *O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr() 90 static const char *getPtr(const MachOObjectFile *O, size_t Offset) { in getPtr() 95 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase() 115 static unsigned getCPUType(const MachOObjectFile *O) { in getCPUType() 129 static bool getPlainRelocationPCRel(const MachOObjectFile *O, in getPlainRelocationPCRel() 137 getScatteredRelocationPCRel(const MachOObjectFile *O, in getScatteredRelocationPCRel() 142 static unsigned getPlainRelocationLength(const MachOObjectFile *O, in getPlainRelocationLength() 154 static unsigned getPlainRelocationType(const MachOObjectFile *O, in getPlainRelocationType() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 68 static T getStruct(const MachOObjectFile &O, const char *P) { in getStruct() 81 static Expected<T> getStructOrErr(const MachOObjectFile &O, const char *P) { in getStructOrErr() 94 getSectionPtr(const MachOObjectFile &O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr() 108 static const char *getPtr(const MachOObjectFile &O, size_t Offset) { in getPtr() 114 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() 127 static unsigned getCPUType(const MachOObjectFile &O) { in getCPUType() 131 static unsigned getCPUSubType(const MachOObjectFile &O) { in getCPUSubType() 145 static bool getPlainRelocationPCRel(const MachOObjectFile &O, in getPlainRelocationPCRel() 157 static unsigned getPlainRelocationLength(const MachOObjectFile &O, in getPlainRelocationLength() 169 static unsigned getPlainRelocationType(const MachOObjectFile &O, in getPlainRelocationType() [all …]
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 204 static void printDarwinSectionSizes(MachOObjectFile *MachO) { in printDarwinSectionSizes() 279 static void printDarwinSegmentSizes(MachOObjectFile *MachO) { in printDarwinSegmentSizes() 362 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in printObjectSectionSizes() 488 if (isa<MachOObjectFile>(o) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags() 489 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in checkMachOAndArchFlags() 495 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags() 496 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags() 498 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags() 499 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype); in checkMachOAndArchFlags() 539 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | MachO.h | 74 ExportEntry(Error *Err, const MachOObjectFile *O, ArrayRef<uint8_t> Trie); 88 friend class MachOObjectFile; 115 const MachOObjectFile *O; 133 BindRebaseSegInfo(const MachOObjectFile *Obj); 169 MachORebaseEntry(Error *Err, const MachOObjectFile *O, 184 friend class MachOObjectFile; 191 const MachOObjectFile *O; 215 MachOBindEntry(Error *Err, const MachOObjectFile *O, 235 friend class MachOObjectFile; 243 const MachOObjectFile *O; [all …]
|
D | MachOUniversal.h | 97 MachOObjectFile::getArchTriple(Header.cputype, Header.cpusubtype, in getArchFlagName() 101 MachOObjectFile::getArchTriple(Header64.cputype, in getArchFlagName() 114 Expected<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const; 165 Expected<std::unique_ptr<MachOObjectFile>>
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 23 class MachOObjectFile; variable 69 void printMachOUnwindInfo(const object::MachOObjectFile* o); 70 void printMachOExportsTrie(const object::MachOObjectFile* o); 71 void printMachORebaseTable(const object::MachOObjectFile* o); 72 void printMachOBindTable(const object::MachOObjectFile* o); 73 void printMachOLazyBindTable(const object::MachOObjectFile* o); 74 void printMachOWeakBindTable(const object::MachOObjectFile* o);
|
D | llvm-objdump.cpp | 644 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName() 719 static std::error_code getRelocationValueString(const MachOObjectFile *Obj, in getRelocationValueString() 904 auto *MachO = cast<MachOObjectFile>(Obj); in getRelocationValueString() 913 auto *MachO = dyn_cast<MachOObjectFile>(Obj); in getHidden() 1103 if (const MachOObjectFile *MachO = dyn_cast<const MachOObjectFile>(Obj)) { in DisassembleObject() 1462 if (const MachOObjectFile *MachO = in PrintSymbolTable() 1463 dyn_cast<const MachOObjectFile>(o)) { in PrintSymbolTable() 1493 } else if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in PrintUnwindInfo() 1505 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie() 1516 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable() [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() 145 MachODebugMapParser::parseOneBinary(const MachOObjectFile &MainBinary, in parseOneBinary() 266 void MachODebugMapParser::dumpOneBinaryStab(const MachOObjectFile &MainBinary, in dumpOneBinaryStab() 306 MainBinaryHolder.GetFilesAs<MachOObjectFile>(BinaryPath); in dumpStab() [all …]
|
D | MachOUtils.cpp | 125 static void iterateOnSegments(const object::MachOObjectFile &Obj, in iterateOnSegments() 177 static unsigned transferSymbols(const object::MachOObjectFile &Obj, in transferSymbols() 204 getSection(const object::MachOObjectFile &Obj, in getSection() 206 const object::MachOObjectFile::LoadCommandInfo &LCI, unsigned Idx) { in getSection() 211 getSection(const object::MachOObjectFile &Obj, in getSection() 213 const object::MachOObjectFile::LoadCommandInfo &LCI, unsigned Idx) { in getSection() 227 const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment, in transferSegmentAndSections() 228 const object::MachOObjectFile &Obj, MCObjectWriter &Writer, in transferSegmentAndSections() 293 static bool isExecutable(const object::MachOObjectFile &Obj) { in isExecutable() 300 static bool hasLinkEditSegment(const object::MachOObjectFile &Obj) { in hasLinkEditSegment() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 31 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) in MachODumper() 58 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 60 void printSections(const MachOObjectFile *Obj); 62 const MachOObjectFile *Obj; 73 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/tools/llvm-nm/ |
D | llvm-nm.cpp | 277 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit() 305 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol() 331 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol() 341 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol() 568 static void darwinPrintStab(MachOObjectFile *MachO, SymbolListT::iterator I) { in darwinPrintStab() 676 if ((JustSymbolName || (UndefinedOnly && isa<MachOObjectFile>(Obj) && in sortAndPrintSymbolList() 709 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in sortAndPrintSymbolList() 842 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar() 898 if ((Symflags & object::SymbolRef::SF_Weak) && !isa<MachOObjectFile>(Obj)) { in getNMTypeChar() 920 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMTypeChar() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 26 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd); 28 const object::MachOObjectFile &Obj; 39 MachODumper(const object::MachOObjectFile &O) : Obj(O) {} in MachODumper() 87 extractSections(const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections() 109 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) { in processLoadCommandData() 116 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) { in processLoadCommandData() 124 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) { in processLoadCommandData() 132 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) { in readString() 143 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) { in processLoadCommandData() 150 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd) { in processLoadCommandData() [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 static Expected<std::unique_ptr<MachOObjectFile>> 445 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits, 493 const MachOObjectFile *MachOOF = in getOffset() 494 static_cast<const MachOObjectFile *>(OwningObject); in getOffset() 501 const MachOObjectFile *MachOOF = in getLength() 502 static_cast<const MachOObjectFile *>(OwningObject); in getLength() [all …]
|
D | MachOUniversal.h | 95 MachOObjectFile::getArchTriple(Header.cputype, Header.cpusubtype); in getArchTypeName() 99 MachOObjectFile::getArchTriple(Header64.cputype, in getArchTypeName() 105 Expected<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const; 153 Expected<std::unique_ptr<MachOObjectFile>>
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOI386.h | 38 const MachOObjectFile &Obj = in processRelocationRef() 39 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 137 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection() 139 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 149 const MachOObjectFile &Obj = in processSECTDIFFRelocation() 150 static_cast<const MachOObjectFile&>(BaseObjT); in processSECTDIFFRelocation() 212 Error populateJumpTable(const MachOObjectFile &Obj, in populateJumpTable()
|
D | RuntimeDyldMachOX86_64.h | 38 const MachOObjectFile &Obj = in processRelocationRef() 39 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 159 const MachOObjectFile &BaseObj, in processSubtractRelocation() 161 const MachOObjectFile &Obj = in processSubtractRelocation() 162 static_cast<const MachOObjectFile&>(BaseObj); in processSubtractRelocation()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOI386.h | 39 const MachOObjectFile &Obj = in processRelocationRef() 40 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 135 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection() 137 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 147 const MachOObjectFile &Obj = in processSECTDIFFRelocation() 148 static_cast<const MachOObjectFile&>(BaseObjT); in processSECTDIFFRelocation() 210 Error populateJumpTable(const MachOObjectFile &Obj, in populateJumpTable()
|
D | RuntimeDyldMachOX86_64.h | 39 const MachOObjectFile &Obj = in processRelocationRef() 40 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 160 const MachOObjectFile &BaseObj, in processSubtractRelocation() 162 const MachOObjectFile &Obj = in processSubtractRelocation() 163 static_cast<const MachOObjectFile&>(BaseObj); in processSubtractRelocation()
|
D | RuntimeDyldMachOARM.h | 58 const MachOObjectFile &Obj = in processRelocationRef() 59 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 180 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 221 const MachOObjectFile &MachO = in processHALFSECTDIFFRelocation() 222 static_cast<const MachOObjectFile&>(BaseTObj); in processHALFSECTDIFFRelocation()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | MachOLinkGraphBuilder.h | 78 MachOLinkGraphBuilder(const object::MachOObjectFile &Obj); 82 const object::MachOObjectFile &getObject() const { return Obj; } in getObject() 155 static unsigned getPointerSize(const object::MachOObjectFile &Obj); 156 static support::endianness getEndianness(const object::MachOObjectFile &Obj); 187 const object::MachOObjectFile &Obj;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.h | 68 const MachOObjectFile &Obj = in getRelocationEntry() 69 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationEntry() 112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj, 117 Error populateIndirectSymbolPointersSection(const MachOObjectFile &Obj,
|
D | RuntimeDyldMachO.cpp | 58 const MachOObjectFile &Obj = in processScatteredVANILLA() 59 static_cast<const MachOObjectFile&>(BaseObjT); in processScatteredVANILLA() 99 const MachOObjectFile &Obj = in getRelocationValueRef() 100 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationValueRef() 141 auto &O = *cast<MachOObjectFile>(RI->getObject()); in makeValueAddendPCRel() 161 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() 179 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.h | 67 const MachOObjectFile &Obj = in getRelocationEntry() 68 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationEntry() 112 static section_iterator getSectionByAddress(const MachOObjectFile &Obj, 117 Error populateIndirectSymbolPointersSection(const MachOObjectFile &Obj,
|
D | RuntimeDyldMachO.cpp | 59 const MachOObjectFile &Obj = in processScatteredVANILLA() 60 static_cast<const MachOObjectFile&>(BaseObjT); in processScatteredVANILLA() 101 const MachOObjectFile &Obj = in getRelocationValueRef() 102 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationValueRef() 143 auto &O = *cast<MachOObjectFile>(RI->getObject()); in makeValueAddendPCRel() 163 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() 181 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection()
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 231 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary() 232 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary() 243 const MachOObjectFile *MachExeObj, const std::string &ArchName) { in lookUpDsymFile() 262 const MachOObjectFile *MachDbgObj = dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile() 309 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjectPair()
|