Lines Matching refs:sec
32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
33 if (!sec) in LLDDwarfObj()
37 StringSwitch<LLDDWARFSection *>(sec->name) in LLDDwarfObj()
47 m->Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
48 m->sec = sec; in LLDDwarfObj()
52 if (sec->name == ".debug_abbrev") in LLDDwarfObj()
53 abbrevSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
54 else if (sec->name == ".debug_str") in LLDDwarfObj()
55 strSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
56 else if (sec->name == ".debug_line_str") in LLDDwarfObj()
57 lineStrSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
58 else if (sec->name == ".debug_info" && in LLDDwarfObj()
69 infoSection.Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
70 infoSection.sec = sec; in LLDDwarfObj()
105 LLDDwarfObj<ELFT>::findAux(const InputSectionBase &sec, uint64_t pos, in findAux() argument
113 const ObjFile<ELFT> *file = sec.getFile<ELFT>(); in findAux()
137 auto &sec = static_cast<const LLDDWARFSection &>(s); in find() local
138 const RelsOrRelas<ELFT> rels = sec.sec->template relsOrRelas<ELFT>(); in find()
140 return findAux(*sec.sec, pos, rels.rels); in find()
141 return findAux(*sec.sec, pos, rels.relas); in find()