Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp71 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 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 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 DSymbolSize.cpp30 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 Dllvm-size.cpp202 static void printDarwinSectionSizes(MachOObjectFile *MachO) { in getCommonSize()
277 static void printDarwinSegmentSizes(MachOObjectFile *MachO) { in printDarwinSectionSizes()
357 // If OutputFormat is darwin and we have a MachOObjectFile print as darwin's
360 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in printObjectSectionSizes()
363 // If we have a MachOObjectFile and the OutputFormat is berkeley print as in printObjectSectionSizes()
515 auto *MachO = dyn_cast<MachOObjectFile>(O); in printObjectSectionSizes()
524 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags()
525 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
527 H = MachO->MachOObjectFile in checkMachOAndArchFlags()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h75 ExportEntry(Error *Err, const MachOObjectFile *O, ArrayRef<uint8_t> Trie);
89 friend class MachOObjectFile;
116 const MachOObjectFile *O;
134 BindRebaseSegInfo(const MachOObjectFile *Obj);
170 MachORebaseEntry(Error *Err, const MachOObjectFile *O,
185 friend class MachOObjectFile;
192 const MachOObjectFile *O;
216 MachOBindEntry(Error *Err, const MachOObjectFile *O,
236 friend class MachOObjectFile;
244 const MachOObjectFile *O;
[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/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.cpp92 static StringRef ordinalName(const object::MachOObjectFile *, int);
132 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget()
190 const object::MachOObjectFile &Obj;
193 MachODumper(const object::MachOObjectFile &O) : Dumper(O), Obj(O) {} in MachODumper()
199 objdump::createMachODumper(const object::MachOObjectFile &Obj) { in createMachODumper()
285 static void getSectionsAndSymbols(MachOObjectFile *MachOObj, in getSectionsAndSymbols()
349 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName()
422 Error objdump::getMachORelocationValueString(const MachOObjectFile *Obj, in getMachORelocationValueString()
600 static void PrintIndirectSymbolTable(MachOObjectFile *O, bool verbose, in PrintIndirectSymbolTable()
656 static void PrintIndirectSymbols(MachOObjectFile *O, bool verbose) { in PrintIndirectSymbols()
[all …]
H A Dllvm-objdump.h38 class MachOObjectFile;
104 std::unique_ptr<Dumper> createMachODumper(const object::MachOObjectFile &Obj);
37 class MachOObjectFile; global() variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp30 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 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/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/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()
590 static void darwinPrintStab(MachOObjectFile *MachO, const NMSymbol &S) { in darwinPrintStab()
784 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj); in printSymbolList()
1014 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar()
1140 if (isa<MachOObjectFile>(Obj) || !(Symflags & object::SymbolRef::SF_Weak)) in getNMSectionTagAndName()
1147 if (!isa<MachOObjectFile>(Obj) && (Symflags & object::SymbolRef::SF_Weak)) in getNMSectionTagAndName()
1164 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(&Obj)) in getNMSectionTagAndName()
1189 static unsigned getNsectForSegSect(MachOObjectFile *Obj) { in getNsectForSegSect()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp48 static TripleVec constructTriples(MachOObjectFile *Obj, in constructTriples()
57 auto getOSVersion = [&](const MachOObjectFile::LoadCommandInfo &cmd) { in constructTriples()
145 static Error readMachOHeader(MachOObjectFile *Obj, RecordsSlice &Slice) { in readMachOHeader()
249 static Error readSymbols(MachOObjectFile *Obj, RecordsSlice &Slice, in readSymbols()
337 static Error load(MachOObjectFile *Obj, RecordsSlice &Slice, in load()
362 if (auto *Obj = dyn_cast<MachOObjectFile>(&Bin)) { in readFile()
440 accumulateLocs(MachOObjectFile &Obj, in accumulateLocs()
497 auto DSYMsOrErr = MachOObjectFile::findDsymObjectMembers(DSYM); in accumulateSourceLocFromDSYM()
516 if (auto *Single = dyn_cast<MachOObjectFile>(BinOrErr->get())) { in accumulateSourceLocFromDSYM()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/MachO/
H A DMachOObjcopy.h17 class MachOObjectFile; variable
32 object::MachOObjectFile &In, raw_ostream &Out);
/freebsd/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/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp29 if (auto *MachO = dyn_cast<object::MachOObjectFile>(&Obj)) { in getUUID()
76 const bool IsMachO = isa<MachOObjectFile>(&Obj); in convert()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h34 class MachOObjectFile; variable
174 const MachOObjectFile *ExeObj,

12