Home
last modified time | relevance | path

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

/external/llvm/lib/Object/
DMachOObjectFile.cpp239 T getStruct(const MachOObjectFile *O, const char *P) { in getStruct()
248 getSegmentLoadCommandNumSections(const MachOObjectFile *O, in getSegmentLoadCommandNumSections()
249 const MachOObjectFile::LoadCommandInfo &L) { in getSegmentLoadCommandNumSections()
259 getSectionPtr(const MachOObjectFile *O, MachOObjectFile::LoadCommandInfo L, in getSectionPtr()
273 static const char *getPtr(const MachOObjectFile *O, size_t Offset) { in getPtr()
278 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase()
298 static unsigned getCPUType(const MachOObjectFile *O) { in getCPUType()
302 static void printRelocationTargetName(const MachOObjectFile *O, in printRelocationTargetName()
378 static bool getPlainRelocationPCRel(const MachOObjectFile *O, in getPlainRelocationPCRel()
386 getScatteredRelocationPCRel(const MachOObjectFile *O, in getScatteredRelocationPCRel()
[all …]
DCMakeLists.txt11 MachOObjectFile.cpp
DAndroid.mk13 MachOObjectFile.cpp \
/external/llvm/tools/macho-dump/
Dmacho-dump.cpp70 static int DumpSectionData(const MachOObjectFile &Obj, unsigned Index, in DumpSectionData()
125 static int DumpSegmentCommand(const MachOObjectFile &Obj, in DumpSegmentCommand()
126 const MachOObjectFile::LoadCommandInfo &LCI) { in DumpSegmentCommand()
148 static int DumpSegment64Command(const MachOObjectFile &Obj, in DumpSegment64Command()
149 const MachOObjectFile::LoadCommandInfo &LCI) { in DumpSegment64Command()
172 static void DumpSymbolTableEntryData(const MachOObjectFile &Obj, in DumpSymbolTableEntryData()
188 static int DumpSymtabCommand(const MachOObjectFile &Obj) { in DumpSymtabCommand()
225 static int DumpDysymtabCommand(const MachOObjectFile &Obj) { in DumpDysymtabCommand()
260 DumpLinkeditDataCommand(const MachOObjectFile &Obj, in DumpLinkeditDataCommand()
261 const MachOObjectFile::LoadCommandInfo &LCI) { in DumpLinkeditDataCommand()
[all …]
/external/llvm/tools/llvm-size/
Dllvm-size.cpp117 static void PrintDarwinSectionSizes(MachOObjectFile *MachO) { in PrintDarwinSectionSizes()
127 MachOObjectFile::LoadCommandInfo Load = MachO->getFirstLoadCommandInfo(); in PrintDarwinSectionSizes()
196 static void PrintDarwinSegmentSizes(MachOObjectFile *MachO) { in PrintDarwinSegmentSizes()
198 MachOObjectFile::LoadCommandInfo Load = MachO->getFirstLoadCommandInfo(); in PrintDarwinSegmentSizes()
286 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in PrintObjectSectionSizes()
414 if (isa<MachOObjectFile>(o) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags()
415 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o); in checkMachOAndArchFlags()
421 H_64 = MachO->MachOObjectFile::getHeader64(); in checkMachOAndArchFlags()
422 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
424 H = MachO->MachOObjectFile::getHeader(); in checkMachOAndArchFlags()
[all …]
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp30 MachODumper(const MachOObjectFile *Obj, StreamWriter& Writer) in MachODumper()
46 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
48 void printSections(const MachOObjectFile *Obj);
50 const MachOObjectFile *Obj;
61 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj); in createMachODumper()
158 static void getSection(const MachOObjectFile *Obj, in getSection()
187 static void getSymbol(const MachOObjectFile *Obj, in getSymbol()
215 void MachODumper::printSections(const MachOObjectFile *Obj) { in printSections()
309 void MachODumper::printRelocation(const MachOObjectFile *Obj, in printRelocation()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp242 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj)) in isSymbolList64Bit()
263 static void darwinPrintSymbol(MachOObjectFile *MachO, SymbolListT::iterator I, in darwinPrintSymbol()
274 H_64 = MachO->MachOObjectFile::getHeader64(); in darwinPrintSymbol()
282 H = MachO->MachOObjectFile::getHeader(); in darwinPrintSymbol()
476 MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj); in sortAndPrintSymbolList()
602 static uint8_t getNType(MachOObjectFile &Obj, DataRefImpl Symb) { in getNType()
611 static char getSymbolNMTypeChar(MachOObjectFile &Obj, basic_symbol_iterator I) { in getSymbolNMTypeChar()
680 if ((Symflags & object::SymbolRef::SF_Weak) && !isa<MachOObjectFile>(Obj)) { in getNMTypeChar()
700 else if (MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(Obj)) in getNMTypeChar()
779 if (isa<MachOObjectFile>(O) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags()
[all …]
/external/llvm/include/llvm/Object/
DMachO.h52 class MachOObjectFile : public ObjectFile {
59 MachOObjectFile(std::unique_ptr<MemoryBuffer> Object, bool IsLittleEndian,
273 const MachOObjectFile *MachOOF = in getOffset()
274 static_cast<const MachOObjectFile *>(OwningObject); in getOffset()
281 const MachOObjectFile *MachOOF = in getLength()
282 static_cast<const MachOObjectFile *>(OwningObject); in getLength()
289 const MachOObjectFile *MachOOF = in getKind()
290 static_cast<const MachOObjectFile *>(OwningObject); in getKind()
DMachOUniversal.h57 Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype); in getArchTypeName()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp37 MachOObjectFile *objf = static_cast<MachOObjectFile *>(ObjFile.get()); in initOldAddress()
76 MachOObjectFile *objf = static_cast<MachOObjectFile *>(ObjFile.get()); in updateSectionAddress()
232 populateJumpTable(cast<MachOObjectFile>(*ObjImg.getObjectFile()), in finalizeLoad()
235 populatePointersSection(cast<MachOObjectFile>(*ObjImg.getObjectFile()), in finalizeLoad()
461 void RuntimeDyldMachO::populateJumpTable(MachOObjectFile &Obj, in populateJumpTable()
494 void RuntimeDyldMachO::populatePointersSection(MachOObjectFile &Obj, in populatePointersSection()
531 section_iterator getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress()
552 const MachOObjectFile *MachO = in processSECTDIFFRelocation()
553 static_cast<const MachOObjectFile*>(Obj.getObjectFile()); in processSECTDIFFRelocation()
617 const MachOObjectFile *MachO = in processI386ScatteredVANILLA()
[all …]
DRuntimeDyldMachO.h47 void populateJumpTable(MachOObjectFile &Obj, const SectionRef &JTSection,
51 void populatePointersSection(MachOObjectFile &Obj, const SectionRef &PTSection,
/external/llvm/include/llvm/MC/
DMCObjectDisassembler.h28 class MachOObjectFile; variable
143 const object::MachOObjectFile &MOOF;
158 MCMachOObjectDisassembler(const object::MachOObjectFile &MOOF,
/external/llvm/tools/llvm-objdump/
DMachODump.cpp52 static const Target *GetTarget(const MachOObjectFile *MachOObj) { in GetTarget()
151 MachOObjectFile *MachOObj, in getSectionsAndSymbols()
165 MachOObjectFile::LoadCommandInfo Command = in getSectionsAndSymbols()
195 MachOObjectFile *MachOOF);
205 std::unique_ptr<MachOObjectFile> MachOOF(static_cast<MachOObjectFile *>( in DisassembleInputMachO()
212 MachOObjectFile *MachOOF) { in DisassembleInputMachO2()
Dllvm-objdump.cpp459 if (const MachOObjectFile *MachO = dyn_cast<const MachOObjectFile>(Obj)) { in DisassembleObject()
789 if (const MachOObjectFile *MachO = in PrintSymbolTable()
790 dyn_cast<const MachOObjectFile>(o)) { in PrintSymbolTable()
/external/llvm/lib/MC/MCAnalysis/
DMCObjectSymbolizer.cpp29 const MachOObjectFile *MOOF;
39 const MachOObjectFile *MOOF);
50 const MachOObjectFile *MOOF) in MCMachObjectSymbolizer()
197 if (const MachOObjectFile *MOOF = dyn_cast<MachOObjectFile>(Obj)) in createObjectSymbolizer()
DMCObjectDisassembler.cpp497 const MachOObjectFile &MOOF, const MCDisassembler &Dis, in MCMachOObjectDisassembler()
533 MachOObjectFile::LoadCommandInfo Load = MOOF.getFirstLoadCommandInfo(); in getEntrypoint()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachORelocationInfo.cpp28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObjectFile()); in createExprForRelocation()
/external/llvm/test/Object/
Dnm-darwin-m.test36 # to test that MachOObjectFile::guessLibraryShortName() is correctly parsing
/external/llvm/tools/llvm-symbolizer/
DLLVMSymbolize.cpp75 if (isa<MachOObjectFile>(Module)) in addSymbol()
/external/llvm/patches/
D0004-Add-Android-makefiles-for-LLVM.patch1283 + MachOObjectFile.cpp \