Home
last modified time | relevance | path

Searched refs:MachOObj (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Object/
DMachOObjectFile.cpp33 MachOObj(MOO), in MachOObjectFile()
38 uint32_t LoadCommandCount = MachOObj->getHeader().NumLoadCommands; in MachOObjectFile()
50 MachOObject *MachOObj = MachOObject::LoadFromBuffer(Buffer, &Err); in createMachOObjectFile() local
51 if (!MachOObj) in createMachOObjectFile()
53 return new MachOObjectFile(Buffer, MachOObj, ec); in createMachOObjectFile()
59 uint32_t LoadCommandCount = MachOObj->getHeader().NumLoadCommands; in moveToNextSymbol()
61 LoadCommandInfo LCI = MachOObj->getLoadCommandInfo(DRI.d.a); in moveToNextSymbol()
64 MachOObj->ReadSymtabLoadCommand(LCI, SymtabLoadCmd); in moveToNextSymbol()
77 LoadCommandInfo LCI = MachOObj->getLoadCommandInfo(DRI.d.a); in getSymbolTableEntry()
78 MachOObj->ReadSymtabLoadCommand(LCI, SymtabLoadCmd); in getSymbolTableEntry()
[all …]
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp54 static const Target *GetTarget(const MachOObject *MachOObj) { in GetTarget() argument
57 switch (MachOObj->getHeader().CPUType) { in GetTarget()
127 MachOObject *MachOObj, raw_ostream &OS) { in DumpAddress() argument
132 StringRef bytes = MachOObj->getData(Sections[i].Offset, in DumpAddress()
215 MachOObject *MachOObj, in getSectionsAndSymbols() argument
222 const MachOObject::LoadCommandInfo &LCI = MachOObj->getLoadCommandInfo(i); in getSectionsAndSymbols()
225 MachOObj->ReadSegmentLoadCommand(LCI, SegmentLC); in getSectionsAndSymbols()
230 MachOObj->ReadSection(LCI, SectNum, Sect); in getSectionsAndSymbols()
236 MachOObj->ReadSegment64LoadCommand(LCI, Segment64LC); in getSectionsAndSymbols()
242 MachOObj->ReadSection64(LCI, SectNum, Sect64); in getSectionsAndSymbols()
[all …]
/external/llvm/tools/obj2yaml/
Dmacho2yaml.cpp512 if (const auto *MachOObj = dyn_cast<object::MachOUniversalBinary>(&Binary)) { in macho2yaml() local
513 if (auto Err = macho2yaml(Out, *MachOObj)) { in macho2yaml()
519 if (const auto *MachOObj = dyn_cast<object::MachOObjectFile>(&Binary)) { in macho2yaml() local
520 if (auto Err = macho2yaml(Out, *MachOObj)) { in macho2yaml()
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachO.h82 MachOObject *MachOObj;
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp73 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj); in createMachODumper() local
74 if (!MachOObj) in createMachODumper()
77 Result.reset(new MachODumper(MachOObj, Writer)); in createMachODumper()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp148 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget() argument
154 TT = MachOObj->getArchTriple(McpuDefault); in GetTarget()
294 static void getSectionsAndSymbols(MachOObjectFile *MachOObj, in getSectionsAndSymbols() argument
299 for (const SymbolRef &Symbol : MachOObj->symbols()) { in getSectionsAndSymbols()
312 for (const SectionRef &Section : MachOObj->sections()) { in getSectionsAndSymbols()
319 for (const auto &Command : MachOObj->load_commands()) { in getSectionsAndSymbols()
324 MachOObj->getLinkeditDataLoadCommand(Command); in getSectionsAndSymbols()
326 MachOObj->ReadULEB128s(LLC.dataoff, FoundFns); in getSectionsAndSymbols()
328 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1978 if (auto *MachOObj = dyn_cast<object::MachOObjectFile>(&Obj)) in findValidRelocs() local
1979 findValidRelocsMachO(Section, *MachOObj, DMO); in findValidRelocs()