| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 71 static T getStruct(const MachOObjectFile &O, const char *P) { in getStruct() 84 static Expected<T> getStructOrErr(const MachOObjectFile &O, const char *P) { in getStructOrErr() 97 getSectionPtr(const MachOObjectFile &O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr() 111 static const char *getPtr(const MachOObjectFile &O, size_t Offset, in getPtr() 119 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() 132 static unsigned getCPUType(const MachOObjectFile &O) { in getCPUType() 136 static unsigned getCPUSubType(const MachOObjectFile &O) { in getCPUSubType() 150 static bool getPlainRelocationPCRel(const MachOObjectFile &O, in getPlainRelocationPCRel() 162 static unsigned getPlainRelocationLength(const MachOObjectFile &O, in getPlainRelocationLength() 174 static unsigned getPlainRelocationType(const MachOObjectFile &O, in getPlainRelocationType() [all …]
|
| H A D | MachOUniversalWriter.cpp | 37 static uint32_t calculateFileAlignment(const MachOObjectFile &O) { in calculateFileAlignment() 69 static uint32_t calculateAlignment(const MachOObjectFile &ObjectFile) { in calculateAlignment() 90 Slice::Slice(const MachOObjectFile &O, uint32_t Align) in Slice() 101 Slice::Slice(const MachOObjectFile &O) : Slice(O, calculateAlignment(O)) {} in Slice() 120 static MachoCPUTy getMachoCPUFromObjectFile(const MachOObjectFile &O) { in create() 126 std::unique_ptr<MachOObjectFile> MFO = nullptr; in create() 141 MachOObjectFile *O = cast<MachOObjectFile>(Bin); in create() 235 MachOObjectFile::getArchTriple(CPUType, CPUSubType).getArchName()); in create()
|
| H A D | SymbolSize.cpp | 30 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSectionID() 40 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSymbolSectionID()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-size/ |
| H A D | llvm-size.cpp | 206 static void printDarwinSectionSizes(MachOObjectFile *MachO) { in printDarwinSectionSizes() 281 static void printDarwinSegmentSizes(MachOObjectFile *MachO) { in printDarwinSegmentSizes() 364 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in printObjectSectionSizes() 518 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags() 527 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags() 528 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags() 530 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags() 531 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype); in checkMachOAndArchFlags() 563 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes() 599 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.h | 22 class MachOObjectFile; variable 64 Error getMachORelocationValueString(const object::MachOObjectFile *Obj, 68 const object::MachOObjectFile * 69 getMachODSymObject(const object::MachOObjectFile *O, StringRef Filename, 76 void printMachOUnwindInfo(const object::MachOObjectFile *O);
|
| H A D | MachODump.cpp | 88 static StringRef ordinalName(const object::MachOObjectFile *, int); 128 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget() 186 const object::MachOObjectFile &Obj; 189 MachODumper(const object::MachOObjectFile &O) : Dumper(O), Obj(O) {} in MachODumper() 195 objdump::createMachODumper(const object::MachOObjectFile &Obj) { in createMachODumper() 281 static void getSectionsAndSymbols(MachOObjectFile *MachOObj, in getSectionsAndSymbols() 345 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName() 418 Error objdump::getMachORelocationValueString(const MachOObjectFile *Obj, in getMachORelocationValueString() 596 static void PrintIndirectSymbolTable(MachOObjectFile *O, bool verbose, in PrintIndirectSymbolTable() 652 static void PrintIndirectSymbols(MachOObjectFile *O, bool verbose) { in PrintIndirectSymbols() [all …]
|
| H A D | llvm-objdump.h | 36 class MachOObjectFile; variable 104 std::unique_ptr<Dumper> createMachODumper(const object::MachOObjectFile &Obj);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | MachO.h | 76 LLVM_ABI ExportEntry(Error *Err, const MachOObjectFile *O, 91 friend class MachOObjectFile; 118 const MachOObjectFile *O; 136 LLVM_ABI BindRebaseSegInfo(const MachOObjectFile *Obj); 173 LLVM_ABI MachORebaseEntry(Error *Err, const MachOObjectFile *O, 188 friend class MachOObjectFile; 195 const MachOObjectFile *O; 219 LLVM_ABI MachOBindEntry(Error *Err, const MachOObjectFile *O, 240 friend class MachOObjectFile; 248 const MachOObjectFile *O; [all …]
|
| H A D | MachOUniversal.h | 97 return MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType()); in getTriple() 101 MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType(), in getArchFlagName() 106 LLVM_ABI Expected<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const; 159 Expected<std::unique_ptr<MachOObjectFile>>
|
| H A D | MachOUniversalWriter.h | 33 class MachOObjectFile; variable 50 LLVM_ABI explicit Slice(const MachOObjectFile &O); 52 LLVM_ABI Slice(const MachOObjectFile &O, uint32_t Align);
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 30 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) in MachODumper() 71 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 73 void printSectionHeaders(const MachOObjectFile *Obj); 75 const MachOObjectFile *Obj; 83 std::unique_ptr<ObjDumper> createMachODumper(const object::MachOObjectFile &Obj, in createMachODumper() 341 static void getSection(const MachOObjectFile *Obj, in getSection() 370 static void getSegment(const MachOObjectFile *Obj, in getSegment() 371 const MachOObjectFile::LoadCommandInfo &L, in getSegment() 402 static void getSymbol(const MachOObjectFile *Obj, in getSymbol() 468 void MachODumper::printSectionHeaders(const MachOObjectFile *Ob [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldMachOI386.h | 37 const MachOObjectFile &Obj = in processRelocationRef() 38 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 136 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection() 138 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 148 const MachOObjectFile &Obj = in processSECTDIFFRelocation() 149 static_cast<const MachOObjectFile&>(BaseObjT); in processSECTDIFFRelocation() 211 Error populateJumpTable(const MachOObjectFile &Obj, in populateJumpTable()
|
| H A D | RuntimeDyldMachOX86_64.h | 37 const MachOObjectFile &Obj = in processRelocationRef() 38 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 158 const MachOObjectFile &BaseObj, in processSubtractRelocation() 160 const MachOObjectFile &Obj = in processSubtractRelocation() 161 static_cast<const MachOObjectFile&>(BaseObj); in processSubtractRelocation()
|
| H A D | RuntimeDyldMachOARM.h | 104 const MachOObjectFile &Obj = in processRelocationRef() 105 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 297 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection() 347 const MachOObjectFile &MachO = in processHALFSECTDIFFRelocation() 348 static_cast<const MachOObjectFile&>(BaseTObj); in processHALFSECTDIFFRelocation()
|
| H A D | RuntimeDyldMachOAArch64.h | 277 const MachOObjectFile &Obj = in processRelocationRef() 278 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef() 483 const MachOObjectFile &Obj = in processSubtractRelocation() 484 static_cast<const MachOObjectFile&>(BaseObjT); in processSubtractRelocation()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.h | 62 const MachOObjectFile &Obj = in getRelocationEntry() 63 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationEntry() 107 static section_iterator getSectionByAddress(const MachOObjectFile &Obj, 112 Error populateIndirectSymbolPointersSection(const MachOObjectFile &Obj,
|
| H A D | RuntimeDyldMachO.cpp | 58 const MachOObjectFile &Obj = in processScatteredVANILLA() 59 static_cast<const MachOObjectFile&>(BaseObjT); in processScatteredVANILLA() 100 const MachOObjectFile &Obj = in getRelocationValueRef() 101 static_cast<const MachOObjectFile &>(BaseTObj); in getRelocationValueRef() 142 auto &O = *cast<MachOObjectFile>(RI->getObject()); in makeValueAddendPCRel() 162 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() 180 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | MachOLinkGraphBuilder.h | 86 MachOLinkGraphBuilder(const object::MachOObjectFile &Obj, 92 const object::MachOObjectFile &getObject() const { return Obj; } in getObject() 183 static unsigned getPointerSize(const object::MachOObjectFile &Obj); 184 static llvm::endianness getEndianness(const object::MachOObjectFile &Obj); 228 const object::MachOObjectFile &Obj;
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 314 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol() 340 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol() 358 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol() 592 static void darwinPrintStab(MachOObjectFile *MachO, const NMSymbol &S) { in darwinPrintStab() 786 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in printSymbolList() 1016 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar() 1142 if (isa<MachOObjectFile>(Obj) || !(Symflags & object::SymbolRef::SF_Weak)) in getNMSectionTagAndName() 1149 if (!isa<MachOObjectFile>(Obj) && (Symflags & object::SymbolRef::SF_Weak)) in getNMSectionTagAndName() 1166 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMSectionTagAndName() 1191 static unsigned getNsectForSegSect(MachOObjectFile *Obj) { in getNsectForSegSect() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
| H A D | DylibReader.cpp | 47 static TripleVec constructTriples(MachOObjectFile *Obj, in constructTriples() 56 auto getOSVersion = [&](const MachOObjectFile::LoadCommandInfo &cmd) { in constructTriples() 144 static Error readMachOHeader(MachOObjectFile *Obj, RecordsSlice &Slice) { in readMachOHeader() 248 static Error readSymbols(MachOObjectFile *Obj, RecordsSlice &Slice, in readSymbols() 336 static Error load(MachOObjectFile *Obj, RecordsSlice &Slice, in load() 361 if (auto *Obj = dyn_cast<MachOObjectFile>(&Bin)) { in readFile() 439 accumulateLocs(MachOObjectFile &Obj, in accumulateLocs() 496 auto DSYMsOrErr = MachOObjectFile::findDsymObjectMembers(DSYM); in accumulateSourceLocFromDSYM() 515 if (auto *Single = dyn_cast<MachOObjectFile>(BinOrErr->get())) { in accumulateSourceLocFromDSYM()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/MachO/ |
| H A D | MachOObjcopy.h | 19 class MachOObjectFile; variable 34 object::MachOObjectFile &In,
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | GetDylibInterface.cpp | 38 std::unique_ptr<object::MachOObjectFile> MachOFile; in getDylibInterfaceFromDylib() 39 if (isa<object::MachOObjectFile>(**BinFile)) in getDylibInterfaceFromDylib() 40 MachOFile.reset(dyn_cast<object::MachOObjectFile>(BinFile->release())); in getDylibInterfaceFromDylib()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.h | 31 const object::MachOObjectFile &MachOObj; 55 explicit MachOReader(const object::MachOObjectFile &Obj) : MachOObj(Obj) {} in MachOReader()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | ObjectFileTransformer.cpp | 27 if (auto *MachO = dyn_cast<object::MachOObjectFile>(&Obj)) { in getUUID() 74 const bool IsMachO = isa<MachOObjectFile>(&Obj); in convert()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | Symbolize.cpp | 354 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary() 355 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary() 366 const MachOObjectFile *MachExeObj, in lookUpDsymFile() 388 const MachOObjectFile *MachDbgObj = dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile() 551 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjectPair()
|