Lines Matching full:sec
32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
33 if (!sec) in LLDDwarfObj()
37 StringSwitch<LLDDWARFSection *>(sec->name) in LLDDwarfObj()
48 m->Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
49 m->sec = sec; in LLDDwarfObj()
53 if (sec->name == ".debug_abbrev") in LLDDwarfObj()
54 abbrevSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
55 else if (sec->name == ".debug_str") in LLDDwarfObj()
56 strSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
57 else if (sec->name == ".debug_line_str") in LLDDwarfObj()
58 lineStrSection = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
59 else if (sec->name == ".debug_info" && in LLDDwarfObj()
70 infoSection.Data = toStringRef(sec->contentMaybeDecompress()); in LLDDwarfObj()
71 infoSection.sec = sec; in LLDDwarfObj()
100 // Find if there is a relocation at Pos in Sec. The code is a bit
106 LLDDwarfObj<ELFT>::findAux(const InputSectionBase &sec, uint64_t pos, in findAux() argument
114 const ObjFile<ELFT> *file = sec.getFile<ELFT>(); in findAux()
138 auto &sec = static_cast<const LLDDWARFSection &>(s); in find() local
140 sec.sec->template relsOrRelas<ELFT>(/*supportsCrel=*/false); in find()
142 return findAux(*sec.sec, pos, rels.rels); in find()
143 return findAux(*sec.sec, pos, rels.relas); in find()