Lines Matching full:sec
32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) {
33 if (!sec)
37 StringSwitch<LLDDWARFSection *>(sec->name)
48 m->Data = toStringRef(sec->contentMaybeDecompress());
49 m->sec = sec;
53 if (sec->name == ".debug_abbrev")
54 abbrevSection = toStringRef(sec->contentMaybeDecompress());
55 else if (sec->name == ".debug_str")
56 strSection = toStringRef(sec->contentMaybeDecompress());
57 else if (sec->name == ".debug_line_str")
58 lineStrSection = toStringRef(sec->contentMaybeDecompress());
59 else if (sec->name == ".debug_info" &&
70 infoSection.Data = toStringRef(sec->contentMaybeDecompress());
71 infoSection.sec = sec;
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,
114 const ObjFile<ELFT> *file = sec.getFile<ELFT>();
138 auto &sec = static_cast<const LLDDWARFSection &>(s);
140 sec.sec->template relsOrRelas<ELFT>(/*supportsCrel=*/false);
142 return findAux(*sec.sec, pos, rels.rels);
143 return findAux(*sec.sec, pos, rels.relas);