Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DMachODumper.cpp75 const MachOObjectFile *MachOObj = dyn_cast<MachOObjectFile>(Obj); in createMachODumper() local
76 if (!MachOObj) in createMachODumper()
79 Result.reset(new MachODumper(MachOObj, Writer)); in createMachODumper()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DMachODump.cpp141 static const Target *GetTarget(const MachOObjectFile *MachOObj, in GetTarget() argument
147 TT = MachOObj->getArchTriple(McpuDefault); in GetTarget()
306 static void getSectionsAndSymbols(MachOObjectFile *MachOObj, in getSectionsAndSymbols() argument
311 for (const SymbolRef &Symbol : MachOObj->symbols()) { in getSectionsAndSymbols()
314 report_error(MachOObj->getFileName(), SymName.takeError()); in getSectionsAndSymbols()
319 for (const SectionRef &Section : MachOObj->sections()) { in getSectionsAndSymbols()
326 for (const auto &Command : MachOObj->load_commands()) { in getSectionsAndSymbols()
331 MachOObj->getLinkeditDataLoadCommand(Command); in getSectionsAndSymbols()
333 MachOObj->ReadULEB128s(LLC.dataoff, FoundFns); in getSectionsAndSymbols()
335 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command); in getSectionsAndSymbols()