• Home
  • Raw
  • Download

Lines Matching refs:SectIdx

373     for (unsigned SectIdx = 0; SectIdx != DebugSections.size(); SectIdx++) {  in DisassembleInputMachO()  local
374 if (!strcmp(DebugSections[SectIdx].Name, "__debug_abbrev")) in DisassembleInputMachO()
375 DebugAbbrevSection = DbgInfoObj->getData(DebugSections[SectIdx].Offset, in DisassembleInputMachO()
376 DebugSections[SectIdx].Size); in DisassembleInputMachO()
377 else if (!strcmp(DebugSections[SectIdx].Name, "__debug_info")) in DisassembleInputMachO()
378 DebugInfoSection = DbgInfoObj->getData(DebugSections[SectIdx].Offset, in DisassembleInputMachO()
379 DebugSections[SectIdx].Size); in DisassembleInputMachO()
380 else if (!strcmp(DebugSections[SectIdx].Name, "__debug_aranges")) in DisassembleInputMachO()
381 DebugArangesSection = DbgInfoObj->getData(DebugSections[SectIdx].Offset, in DisassembleInputMachO()
382 DebugSections[SectIdx].Size); in DisassembleInputMachO()
383 else if (!strcmp(DebugSections[SectIdx].Name, "__debug_line")) in DisassembleInputMachO()
384 DebugLineSection = DbgInfoObj->getData(DebugSections[SectIdx].Offset, in DisassembleInputMachO()
385 DebugSections[SectIdx].Size); in DisassembleInputMachO()
386 else if (!strcmp(DebugSections[SectIdx].Name, "__debug_str")) in DisassembleInputMachO()
387 DebugStrSection = DbgInfoObj->getData(DebugSections[SectIdx].Offset, in DisassembleInputMachO()
388 DebugSections[SectIdx].Size); in DisassembleInputMachO()
403 for (unsigned SectIdx = 0; SectIdx != Sections.size(); SectIdx++) { in DisassembleInputMachO() local
404 if (strcmp(Sections[SectIdx].Name, "__text")) in DisassembleInputMachO()
408 uint64_t VMAddr = Sections[SectIdx].Address - Sections[SectIdx].Offset; in DisassembleInputMachO()
412 StringRef Bytes = MachOObj->getData(Sections[SectIdx].Offset, in DisassembleInputMachO()
413 Sections[SectIdx].Size); in DisassembleInputMachO()
419 for (unsigned j = 0; j != Sections[SectIdx].NumRelocs; ++j) { in DisassembleInputMachO()
421 MachOObj->ReadRelocationEntry(Sections[SectIdx].RelocTableOffset, j, RE); in DisassembleInputMachO()
429 if ((unsigned)Symbols[SymIdx].SectionIndex - 1 != SectIdx) in DisassembleInputMachO()
433 uint64_t Start = Symbols[SymIdx].Value - Sections[SectIdx].Address; in DisassembleInputMachO()
438 Sections[SectIdx].Size : in DisassembleInputMachO()
439 Symbols[SymIdx+1].Value - Sections[SectIdx].Address; in DisassembleInputMachO()
457 outs() << format("%8llx:\t", Sections[SectIdx].Address + Index); in DisassembleInputMachO()
464 diContext->getLineInfoForAddress(Sections[SectIdx].Address + in DisassembleInputMachO()
492 0, Sections[SectIdx].Size, in DisassembleInputMachO()
494 Sections[SectIdx].Offset, DebugOut, in DisassembleInputMachO()
506 Sections[SectIdx].Size, in DisassembleInputMachO()
540 uint64_t End = llvm::next(fi) == fe ? Sections[SectIdx].Size : in DisassembleInputMachO()
544 outs() << format("%8x:\t", Sections[SectIdx].Address + pos); in DisassembleInputMachO()
561 if (FunctionMap.find(Sections[SectIdx].Address + Inst.Address) != in DisassembleInputMachO()
563 outs() << FunctionMap[Sections[SectIdx].Address + Inst.Address]-> in DisassembleInputMachO()
566 outs() << format("%8llx:\t", Sections[SectIdx].Address + in DisassembleInputMachO()
578 if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address && in DisassembleInputMachO()
579 Relocs[j].first < Sections[SectIdx].Address + Inst.Address + in DisassembleInputMachO()
600 diContext->getLineInfoForAddress(Sections[SectIdx].Address + in DisassembleInputMachO()