| /NextBSD/contrib/llvm/lib/Object/ |
| HD | 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 …]
|
| HD | SymbolSize.cpp | 35 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSectionID() 41 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSymbolSectionID()
|
| HD | MachOUniversal.cpp | 70 ErrorOr<std::unique_ptr<MachOObjectFile>> 126 ErrorOr<std::unique_ptr<MachOObjectFile>>
|
| /NextBSD/contrib/llvm/tools/macho-dump/ |
| HD | 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 …]
|
| /NextBSD/contrib/llvm/tools/llvm-objdump/ |
| HD | 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);
|
| HD | llvm-objdump.cpp | 446 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName() 511 static std::error_code getRelocationValueString(const MachOObjectFile *Obj, in getRelocationValueString() 696 auto *MachO = cast<MachOObjectFile>(Obj); in getRelocationValueString() 705 auto *MachO = dyn_cast<MachOObjectFile>(Obj); in getHidden() 884 if (const MachOObjectFile *MachO = dyn_cast<const MachOObjectFile>(Obj)) { in DisassembleObject() 1218 if (const MachOObjectFile *MachO = in PrintSymbolTable() 1219 dyn_cast<const MachOObjectFile>(o)) { in PrintSymbolTable() 1250 } else if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in PrintUnwindInfo() 1262 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie() 1273 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable() [all …]
|
| HD | MachODump.cpp | 145 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget() 266 static void getSectionsAndSymbols(MachOObjectFile *MachOObj, in getSectionsAndSymbols() 305 static void PrintIndirectSymbolTable(MachOObjectFile *O, bool verbose, in PrintIndirectSymbolTable() 364 static void PrintIndirectSymbols(MachOObjectFile *O, bool verbose) { in PrintIndirectSymbols() 426 static void PrintDataInCodeTable(MachOObjectFile *O, bool verbose) { in PrintDataInCodeTable() 468 static void PrintLinkOptHints(MachOObjectFile *O) { in PrintLinkOptHints() 525 static void PrintDylibs(MachOObjectFile *O, bool JustId) { in PrintDylibs() 575 static void CreateSymbolAddressMap(MachOObjectFile *O, in CreateSymbolAddressMap() 614 static void DumpCstringSection(MachOObjectFile *O, const char *sect, in DumpCstringSection() 647 static void DumpLiteral4Section(MachOObjectFile *O, const char *sect, in DumpLiteral4Section() [all …]
|
| /NextBSD/contrib/llvm/tools/llvm-nm/ |
| HD | llvm-nm.cpp | 209 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit() 223 static void darwinPrintSymbol(MachOObjectFile *MachO, SymbolListT::iterator I, in darwinPrintSymbol() 237 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol() 247 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol() 454 static void darwinPrintStab(MachOObjectFile *MachO, SymbolListT::iterator I) { in darwinPrintStab() 540 if (JustSymbolName || (UndefinedOnly && isa<MachOObjectFile>(Obj))) { in sortAndPrintSymbolList() 563 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in sortAndPrintSymbolList() 682 static uint8_t getNType(MachOObjectFile &Obj, DataRefImpl Symb) { in getNType() 691 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar() 749 if ((Symflags & object::SymbolRef::SF_Weak) && !isa<MachOObjectFile>(Obj)) { in getNMTypeChar() [all …]
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| HD | 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() 190 const MachOObjectFile &Obj = in processI386ScatteredVANILLA() 191 static_cast<const MachOObjectFile&>(BaseObjT); in processI386ScatteredVANILLA() 222 void populateJumpTable(const MachOObjectFile &Obj, const SectionRef &JTSection, in populateJumpTable()
|
| HD | 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()
|
| HD | RuntimeDyldMachOX86_64.h | 38 const MachOObjectFile &Obj = in processRelocationRef() 39 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef()
|
| HD | RuntimeDyldMachOAArch64.h | 250 const MachOObjectFile &Obj = in processRelocationRef() 251 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef()
|
| /NextBSD/contrib/llvm/include/llvm/Object/ |
| HD | 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, 472 const MachOObjectFile *MachOOF = in getOffset() 473 static_cast<const MachOObjectFile *>(OwningObject); in getOffset() 480 const MachOObjectFile *MachOOF = in getLength() 481 static_cast<const MachOObjectFile *>(OwningObject); in getLength() 488 const MachOObjectFile *MachOOF = in getKind() [all …]
|
| HD | 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>>
|
| HD | RelocVisitor.h | 57 if (isa<MachOObjectFile>(ObjToVisit)) 250 const MachOObjectFile *Obj = cast<MachOObjectFile>(R.getObject()); in getLengthMachO64()
|
| HD | ObjectFile.h | 31 class MachOObjectFile; variable 298 static ErrorOr<std::unique_ptr<MachOObjectFile>>
|
| /NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| HD | RuntimeDyldMachO.h | 68 const MachOObjectFile &Obj = in getRelocationEntry() 69 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationEntry() 105 static section_iterator getSectionByAddress(const MachOObjectFile &Obj, 110 void populateIndirectSymbolPointersSection(const MachOObjectFile &Obj,
|
| HD | RuntimeDyldMachO.cpp | 57 const MachOObjectFile &Obj = in getRelocationValueRef() 58 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationValueRef() 94 auto &O = *cast<MachOObjectFile>(RI->getObject()); in makeValueAddendPCRel() 114 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() 132 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection()
|
| HD | RuntimeDyld.cpp | 272 assert(isa<MachOObjectFile>(Obj)); in isRequiredForExecution() 290 assert(isa<MachOObjectFile>(Obj)); in isReadOnlyData() 302 auto *MachO = cast<MachOObjectFile>(Obj); in isZeroInit()
|
| /NextBSD/contrib/llvm/tools/llvm-readobj/ |
| HD | MachODumper.cpp | 31 MachODumper(const MachOObjectFile *Obj, StreamWriter& Writer) in MachODumper() 51 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 53 void printSections(const MachOObjectFile *Obj); 55 const MachOObjectFile *Obj; 66 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj); in createMachODumper() 269 static void getSection(const MachOObjectFile *Obj, in getSection() 298 static void getSymbol(const MachOObjectFile *Obj, in getSymbol() 366 void MachODumper::printSections(const MachOObjectFile *Obj) { in printSections() 462 void MachODumper::printRelocation(const MachOObjectFile *Obj, in printRelocation()
|
| HD | llvm-readobj.cpp | 356 ErrorOr<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary()
|
| /NextBSD/contrib/llvm/tools/llvm-symbolizer/ |
| HD | LLVMSymbolize.cpp | 329 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary() 330 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary() 339 const MachOObjectFile *MachExeObj, const std::string &ArchName) { in lookUpDsymFile() 355 const MachOObjectFile *MachDbgObj = in lookUpDsymFile() 356 dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile() 385 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjects()
|
| HD | LLVMSymbolize.h | 71 ObjectFile *lookUpDsymFile(const std::string &Path, const MachOObjectFile *ExeObj,
|
| /NextBSD/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
| HD | X86MachORelocationInfo.cpp | 28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObject()); in createExprForRelocation()
|
| /NextBSD/lib/clang/libllvmobject/ |
| HD | Makefile | 18 MachOObjectFile.cpp \
|