Home
last modified time | relevance | path

Searched refs:MachOObjectFile (Results 1 – 25 of 58) sorted by relevance

123

/openbsd/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp97 getSectionPtr(const MachOObjectFile &O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr()
281 const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, in parseSegmentLoadCommand()
1252 std::unique_ptr<MachOObjectFile> Obj( in create()
1261 MachOObjectFile::MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, in MachOObjectFile() function in MachOObjectFile
2840 Triple MachOObjectFile::getHostArch() { in getHostArch()
3793 MachOObjectFile::rebaseTable(Error &Err, MachOObjectFile *O, in rebaseTable()
4452 MachOObjectFile::bindTable(Error &Err, MachOObjectFile *O, in bindTable()
4494 MachOObjectFile::load_command_iterator
4499 MachOObjectFile::load_command_iterator
4590 MachOObjectFile::getAnyRelocationType( in getAnyRelocationType()
[all …]
H A DMachOUniversalWriter.cpp37 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()
122 std::unique_ptr<MachOObjectFile> MFO = nullptr; in create()
136 MachOObjectFile *O = cast<MachOObjectFile>(Bin); in create()
239 MachOObjectFile::getArchTriple(CPUType, CPUSubType).getArchName()); in create()
H A DSymbolSize.cpp30 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSectionID()
40 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSymbolSectionID()
/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DMachO.h89 friend class MachOObjectFile;
116 const MachOObjectFile *O;
185 friend class MachOObjectFile;
192 const MachOObjectFile *O;
236 friend class MachOObjectFile;
244 const MachOObjectFile *O;
357 const MachOObjectFile *O;
406 class MachOObjectFile : public ObjectFile {
891 const MachOObjectFile *MachOOF = in getOffset()
899 const MachOObjectFile *MachOOF = in getLength()
[all …]
H A DMachOUniversal.h96 return MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType()); in getTriple()
100 MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType(), in getArchFlagName()
105 Expected<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const;
158 Expected<std::unique_ptr<MachOObjectFile>>
H A DMachOUniversalWriter.h32 class MachOObjectFile; variable
49 explicit Slice(const MachOObjectFile &O);
51 Slice(const MachOObjectFile &O, uint32_t Align);
/openbsd/gnu/llvm/llvm/tools/llvm-objdump/
H A DMachODump.h22 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 DMachODump.cpp2610 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&*O)) in parseInputMachO()
2713 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&O)) in parseInputMachO()
2764 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&Obj)) in parseInputMachO()
2791 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(O)) in parseInputMachO()
10539 const MachOObjectFile *file = cast<const MachOObjectFile>(Obj); in printMachOFileHeader()
10544 const MachOObjectFile *file = cast<const MachOObjectFile>(Obj); in printMachOLoadCommands()
10782 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printLazyBindTable()
10792 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printWeakBindTable()
10802 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie()
10812 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-size/
H A Dllvm-size.cpp368 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in printObjectSectionSizes()
523 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
535 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
568 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
604 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
642 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
695 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
729 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
770 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
806 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-readobj/
H A DMachODumper.cpp30 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) in MachODumper()
73 void printSectionHeaders(const MachOObjectFile *Obj);
75 const MachOObjectFile *Obj;
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 *Obj) { in printSectionHeaders()
551 void MachODumper::printRelocation(const MachOObjectFile *Obj, in printRelocation()
863 MachOObjectFile::getBuildPlatform(BVC.platform)); in printMachOVersionMin()
[all …]
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h37 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 DRuntimeDyldMachOX86_64.h37 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 DRuntimeDyldMachOARM.h104 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()
/openbsd/gnu/llvm/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp77 std::unique_ptr<DebugMap> parseOneBinary(const MachOObjectFile &MainBinary,
86 void loadMainBinarySymbols(const MachOObjectFile &MainBinary);
87 void loadCurrentObjectFileSymbols(const object::MachOObjectFile &Obj);
112 void dumpOneBinaryStab(const MachOObjectFile &MainBinary,
182 auto Object = ObjectEntry->getObjectAs<MachOObjectFile>(Result->getTriple()); in switchToNewDebugMapObject()
195 static std::string getArchName(const object::MachOObjectFile &Obj) { in getArchName()
201 MachODebugMapParser::parseOneBinary(const MachOObjectFile &MainBinary, in parseOneBinary()
372 auto Objects = ObjectEntry->getObjectsAs<MachOObjectFile>(); in dumpStab()
397 auto Objects = ObjectEntry->getObjectsAs<MachOObjectFile>(); in parse()
515 const object::MachOObjectFile &Obj) { in loadCurrentObjectFileSymbols()
[all …]
H A DMachOUtils.cpp142 static void iterateOnSegments(const object::MachOObjectFile &Obj, in iterateOnSegments()
202 static unsigned transferSymbols(const object::MachOObjectFile &Obj, in transferSymbols()
229 getSection(const object::MachOObjectFile &Obj, in getSection()
231 const object::MachOObjectFile::LoadCommandInfo &LCI, unsigned Idx) { in getSection()
236 getSection(const object::MachOObjectFile &Obj, in getSection()
238 const object::MachOObjectFile::LoadCommandInfo &LCI, unsigned Idx) { in getSection()
257 const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment, in transferSegmentAndSections()
258 const object::MachOObjectFile &Obj, MachObjectWriter &Writer, in transferSegmentAndSections()
337 static bool isExecutable(const object::MachOObjectFile &Obj) { in isExecutable()
380 ObjectEntry->getObjectAs<object::MachOObjectFile>(DM.getTriple()); in generateDsymCompanion()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.h67 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,
H A DRuntimeDyldMachO.cpp59 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()
/openbsd/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp28 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd,
31 const object::MachOObjectFile &Obj;
60 MachODumper(const object::MachOObjectFile &O, in MachODumper()
171 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in extractSections()
210 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData()
219 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData()
229 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData()
250 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData()
259 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData()
268 const llvm::object::MachOObjectFile::LoadCommandInfo &LoadCmd, in processLoadCommandData()
[all …]
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.h86 MachOLinkGraphBuilder(const object::MachOObjectFile &Obj, Triple TT,
91 const object::MachOObjectFile &getObject() const { return Obj; } in getObject()
182 static unsigned getPointerSize(const object::MachOObjectFile &Obj);
183 static support::endianness getEndianness(const object::MachOObjectFile &Obj);
227 const object::MachOObjectFile &Obj;
/openbsd/gnu/llvm/llvm/include/llvm/ObjCopy/MachO/
H A DMachOObjcopy.h17 class MachOObjectFile; variable
32 object::MachOObjectFile &In, raw_ostream &Out);
/openbsd/gnu/llvm/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp307 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit()
334 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol()
378 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol()
768 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in printSymbolList()
1143 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMSectionTagAndName()
1216 H_64 = MachO.MachOObjectFile::getHeader64(); in dumpSymbolsFromDLInfoMachO()
1219 H = MachO.MachOObjectFile::getHeader(); in dumpSymbolsFromDLInfoMachO()
1790 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in getSymbolNamesFromObject()
1938 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
1952 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp151 static uint32_t getCPUType(MachOObjectFile &MachO) { in getCPUType()
159 static bool filterArch(MachOObjectFile &Obj) { in filterArch()
212 getImageBaseAddress(const object::MachOObjectFile *MachO) { in getImageBaseAddress()
242 if (const auto *MachO = dyn_cast<object::MachOObjectFile>(&Obj)) in getImageBaseAddress()
341 std::vector<std::unique_ptr<MachOObjectFile>> FilterObjs; in handleBuffer()
397 MachOObjectFile::findDsymObjectMembers(ConvertFilename)) { in convertFileToGSYM()
/openbsd/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOReader.h31 const object::MachOObjectFile &MachOObj;
55 explicit MachOReader(const object::MachOObjectFile &Obj) : MachOObj(Obj) {} in MachOReader()
/openbsd/gnu/llvm/llvm/tools/llvm-lipo/
H A Dllvm-lipo.cpp143 if (!MachOObjectFile::isValidArch(ArchitectureName)) { in validateArchitectureName()
148 for (auto arch : MachOObjectFile::getValidArchs()) in validateArchitectureName()
331 const auto S = B->isMachO() ? Slice(*cast<MachOObjectFile>(B)) in readInputBinaries()
371 dyn_cast<MachOObjectFile>(InputBinaries.front().getBinary())) { in verifyArch()
389 Expected<std::unique_ptr<MachOObjectFile>> MachOObjOrError = in printBinaryArchs()
423 if (const auto *MachO = dyn_cast<MachOObjectFile>(Binary)) { in printBinaryArchs()
483 Expected<std::unique_ptr<MachOObjectFile>> Obj = in thinSlice()
566 Expected<std::unique_ptr<MachOObjectFile>> BinaryOrError = in buildSlices()
584 } else if (const auto *O = dyn_cast<MachOObjectFile>(InputBinary)) { in buildSlices()
664 auto O = dyn_cast<MachOObjectFile>(ReplacementBinary); in buildReplacementSlices()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp28 if (auto *MachO = dyn_cast<object::MachOObjectFile>(&Obj)) { in getUUID()
75 const bool IsMachO = isa<MachOObjectFile>(&Obj); in convert()

123