Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp97 getSectionPtr(const MachOObjectFile &O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr()
286 const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, in parseSegmentLoadCommand()
1258 std::unique_ptr<MachOObjectFile> Obj(new MachOObjectFile( in create()
1266 MachOObjectFile::MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, in MachOObjectFile() function in MachOObjectFile
2847 Triple MachOObjectFile::getHostArch() { in getHostArch()
3800 MachOObjectFile::rebaseTable(Error &Err, MachOObjectFile *O, in rebaseTable()
4459 MachOObjectFile::bindTable(Error &Err, MachOObjectFile *O, in bindTable()
4501 MachOObjectFile::load_command_iterator
4506 MachOObjectFile::load_command_iterator
4597 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()
120 static MachoCPUTy getMachoCPUFromObjectFile(const MachOObjectFile &O) { in getMachoCPUFromObjectFile()
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 DSymbolSize.cpp30 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSectionID()
40 if (auto *M = dyn_cast<MachOObjectFile>(&O)) in getSymbolSectionID()
/freebsd-14.2/contrib/llvm-project/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.cpp2572 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&*O)) in parseInputMachO()
2675 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&O)) in parseInputMachO()
2726 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&Obj)) in parseInputMachO()
2753 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(O)) in parseInputMachO()
10132 const MachOObjectFile *file = cast<const MachOObjectFile>(Obj); in printMachOFileHeader()
10143 const MachOObjectFile *file = cast<const MachOObjectFile>(Obj); in printMachOLoadCommands()
10381 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printLazyBindTable()
10391 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printWeakBindTable()
10401 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie()
10411 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable()
[all …]
H A Dllvm-objdump.h38 class MachOObjectFile; variable
104 std::unique_ptr<Dumper> createMachODumper(const object::MachOObjectFile &Obj);
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp360 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in printObjectSectionSizes()
515 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
527 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
560 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
596 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
634 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
687 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
721 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
762 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
798 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
[all …]
/freebsd-14.2/contrib/llvm-project/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 {
897 const MachOObjectFile *MachOOF = in getOffset()
905 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);
/freebsd-14.2/contrib/llvm-project/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()
865 MachOObjectFile::getBuildPlatform(BVC.platform)); in printMachOVersionMin()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
H A DRuntimeDyldMachOAArch64.h277 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-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.h86 MachOLinkGraphBuilder(const object::MachOObjectFile &Obj, Triple TT,
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-14.2/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp312 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol()
338 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol()
356 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol()
784 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in printSymbolList()
1164 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMSectionTagAndName()
1237 H_64 = MachO.MachOObjectFile::getHeader64(); in dumpSymbolsFromDLInfoMachO()
1240 H = MachO.MachOObjectFile::getHeader(); in dumpSymbolsFromDLInfoMachO()
1811 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in getSymbolNamesFromObject()
2022 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
2036 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/MachO/
H A DMachOObjcopy.h17 class MachOObjectFile; variable
32 object::MachOObjectFile &In, raw_ostream &Out);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.h31 const object::MachOObjectFile &MachOObj;
55 explicit MachOReader(const object::MachOObjectFile &Obj) : MachOObj(Obj) {} in MachOReader()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp46 static TripleVec constructTriples(MachOObjectFile *Obj, in constructTriples()
55 auto getOSVersion = [&](const MachOObjectFile::LoadCommandInfo &cmd) { in constructTriples()
143 static Error readMachOHeader(MachOObjectFile *Obj, RecordsSlice &Slice) { in readMachOHeader()
247 static Error readSymbols(MachOObjectFile *Obj, RecordsSlice &Slice, in readSymbols()
332 static Error load(MachOObjectFile *Obj, RecordsSlice &Slice, in load()
357 if (auto *Obj = dyn_cast<MachOObjectFile>(&Bin)) { in readFile()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp349 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary()
350 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary()
361 const MachOObjectFile *MachExeObj, in lookUpDsymFile()
383 const MachOObjectFile *MachDbgObj = dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile()
518 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjectPair()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h34 class MachOObjectFile; variable
174 const MachOObjectFile *ExeObj,

12