Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp93 getSectionPtr(const MachOObjectFile &O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr()
277 const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, in parseSegmentLoadCommand()
1248 std::unique_ptr<MachOObjectFile> Obj( in create()
1257 MachOObjectFile::MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, in MachOObjectFile() function in MachOObjectFile
2748 Triple MachOObjectFile::getHostArch() { in getHostArch()
3465 MachOObjectFile::rebaseTable(Error &Err, MachOObjectFile *O, in rebaseTable()
4124 MachOObjectFile::bindTable(Error &Err, MachOObjectFile *O, in bindTable()
4153 MachOObjectFile::load_command_iterator
4158 MachOObjectFile::load_command_iterator
4249 MachOObjectFile::getAnyRelocationType( in getAnyRelocationType()
[all …]
H A DMachOUniversalWriter.cpp30 static uint32_t calculateFileAlignment(const MachOObjectFile &O) { in calculateFileAlignment()
62 static uint32_t calculateAlignment(const MachOObjectFile &ObjectFile) { in calculateAlignment()
83 Slice::Slice(const MachOObjectFile &O, uint32_t Align) in Slice()
94 Slice::Slice(const MachOObjectFile &O) : Slice(O, calculateAlignment(O)) {} in Slice()
115 std::unique_ptr<MachOObjectFile> MFO = nullptr; in create()
129 MachOObjectFile *O = cast<MachOObjectFile>(Bin); in create()
232 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()
H A DMachOUniversal.cpp63 Expected<std::unique_ptr<MachOObjectFile>>
249 Expected<std::unique_ptr<MachOObjectFile>>
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h88 friend class MachOObjectFile;
115 const MachOObjectFile *O;
133 BindRebaseSegInfo(const MachOObjectFile *Obj);
184 friend class MachOObjectFile;
191 const MachOObjectFile *O;
235 friend class MachOObjectFile;
243 const MachOObjectFile *O;
262 class MachOObjectFile : public ObjectFile {
705 const MachOObjectFile *MachOOF = in getOffset()
713 const MachOObjectFile *MachOOF = in getLength()
[all …]
H A DMachOUniversal.h97 return MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType()); in getTriple()
101 MachOObjectFile::getArchTriple(getCPUType(), getCPUSubType(), in getArchFlagName()
106 Expected<std::unique_ptr<MachOObjectFile>> getAsObjectFile() const;
159 Expected<std::unique_ptr<MachOObjectFile>>
H A DMachOUniversalWriter.h42 explicit Slice(const MachOObjectFile &O);
44 Slice(const MachOObjectFile &O, uint32_t Align);
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp365 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in printObjectSectionSizes()
520 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
532 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
565 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
599 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
637 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
690 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
724 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
765 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
801 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in printFileSectionSizes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp29 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) in MachODumper()
60 void printSectionHeaders(const MachOObjectFile *Obj);
62 const MachOObjectFile *Obj;
328 static void getSection(const MachOObjectFile *Obj, in getSection()
357 static void getSegment(const MachOObjectFile *Obj, in getSegment()
358 const MachOObjectFile::LoadCommandInfo &L, in getSegment()
389 static void getSymbol(const MachOObjectFile *Obj, in getSymbol()
455 void MachODumper::printSectionHeaders(const MachOObjectFile *Obj) { in printSectionHeaders()
539 void MachODumper::printRelocation(const MachOObjectFile *Obj, in printRelocation()
779 MachOObjectFile::getBuildPlatform(BVC.platform)); in printMachOVersionMin()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h38 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()
H A DRuntimeDyldMachOX86_64.h38 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()
H A DRuntimeDyldMachOARM.h105 const MachOObjectFile &Obj = in processRelocationRef()
106 static_cast<const MachOObjectFile &>(BaseObjT); in processRelocationRef()
298 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection()
348 const MachOObjectFile &MachO = in processHALFSECTDIFFRelocation()
349 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-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.h21 class MachOObjectFile; variable
58 Error getMachORelocationValueString(const object::MachOObjectFile *Obj,
65 void printMachOUnwindInfo(const object::MachOObjectFile *O);
H A DMachODump.cpp2354 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&*O)) in parseInputMachO()
2457 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&O)) in parseInputMachO()
2508 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(&Obj)) in parseInputMachO()
2535 if (MachOObjectFile *MachOOF = dyn_cast<MachOObjectFile>(O)) in parseInputMachO()
10228 const MachOObjectFile *file = dyn_cast<const MachOObjectFile>(Obj); in printMachOFileHeader()
10233 const MachOObjectFile *file = dyn_cast<const MachOObjectFile>(Obj); in printMachOLoadCommands()
10469 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printLazyBindTable()
10479 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printWeakBindTable()
10489 if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printExportsTrie()
10499 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o)) in printRebaseTable()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.h84 MachOLinkGraphBuilder(const object::MachOObjectFile &Obj, Triple TT,
89 const object::MachOObjectFile &getObject() const { return Obj; } in getObject()
179 static unsigned getPointerSize(const object::MachOObjectFile &Obj);
180 static support::endianness getEndianness(const object::MachOObjectFile &Obj);
223 const object::MachOObjectFile &Obj;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp253 if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in isSymbolList64Bit()
281 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in darwinPrintSymbol()
325 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol()
706 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in sortAndPrintSymbolList()
1056 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMSectionTagAndName()
1131 H = MachO.MachOObjectFile::getHeader(); in dumpSymbolsFromDLInfoMachO()
1682 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj);
1773 auto *MachO = dyn_cast<MachOObjectFile>(O); in checkMachOAndArchFlags()
1787 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
1859 if (isa<MachOObjectFile>(O)) { in dumpSymbolNamesFromFile()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOObjcopy.h17 class MachOObjectFile; variable
28 object::MachOObjectFile &In, raw_ostream &Out);
H A DMachOReader.h28 const object::MachOObjectFile &MachOObj;
48 explicit MachOReader(const object::MachOObjectFile &Obj) : MachOObj(Obj) {} in MachOReader()
H A DMachOObjcopy.cpp378 object::MachOObjectFile &In, in executeObjcopyOnBinary()
443 Expected<std::unique_ptr<MachOObjectFile>> ObjOrErr = O.getAsObjectFile(); in executeObjcopyOnMachOUniversalBinary()
473 Slices.emplace_back(*cast<MachOObjectFile>(Binaries.back().getBinary()), in executeObjcopyOnMachOUniversalBinary()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp312 bool darwinDsymMatchesBinary(const MachOObjectFile *DbgObj, in darwinDsymMatchesBinary()
313 const MachOObjectFile *Obj) { in darwinDsymMatchesBinary()
396 const MachOObjectFile *MachExeObj, in lookUpDsymFile()
418 const MachOObjectFile *MachDbgObj = dyn_cast<const MachOObjectFile>(DbgObj); in lookUpDsymFile()
484 if (auto MachObj = dyn_cast<const MachOObjectFile>(Obj)) in getOrCreateObjectPair()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMangling.cpp93 bool IsMachO = isa<object::MachOObjectFile>(Obj->get()); in getObjectSymbolInfo()
150 auto &MachOObj = cast<object::MachOObjectFile>(*Obj->get()); in getObjectSymbolInfo()

12