Lines Matching refs:Sec
30 for (InputSectionBase *Sec : Obj->getSections()) { in LLDDwarfObj()
31 if (!Sec) in LLDDwarfObj()
35 StringSwitch<LLDDWARFSection *>(Sec->Name) in LLDDwarfObj()
44 M->Data = toStringRef(Sec->data()); in LLDDwarfObj()
45 M->Sec = Sec; in LLDDwarfObj()
49 if (Sec->Name == ".debug_abbrev") in LLDDwarfObj()
50 AbbrevSection = toStringRef(Sec->data()); in LLDDwarfObj()
51 else if (Sec->Name == ".debug_str") in LLDDwarfObj()
52 StrSection = toStringRef(Sec->data()); in LLDDwarfObj()
53 else if (Sec->Name == ".debug_line_str") in LLDDwarfObj()
54 LineStringSection = toStringRef(Sec->data()); in LLDDwarfObj()
64 LLDDwarfObj<ELFT>::findAux(const InputSectionBase &Sec, uint64_t Pos, in findAux() argument
73 const ObjFile<ELFT> *File = Sec.getFile<ELFT>(); in findAux()
100 auto &Sec = static_cast<const LLDDWARFSection &>(S); in find() local
101 if (Sec.Sec->AreRelocsRela) in find()
102 return findAux(*Sec.Sec, Pos, Sec.Sec->template relas<ELFT>()); in find()
103 return findAux(*Sec.Sec, Pos, Sec.Sec->template rels<ELFT>()); in find()