Lines Matching defs:isec

47   if (auto *isec = dyn_cast<ConcatInputSection>(inputSection)) {
48 if (isec->isCoalescedWeak())
51 ObjCMethListSection::isMethodList(isec)) {
54 in.objcMethList->addInput(isec);
55 isec->parent = in.objcMethList;
59 sectionType(isec->getFlags()) == S_MOD_INIT_FUNC_POINTERS) {
60 in.initOffsets->addInput(isec);
63 isec->outSecOff = inputSectionsOrder++;
64 auto *osec = ConcatOutputSection::getOrCreateForInput(isec);
65 isec->parent = osec;
66 inputSections.push_back(isec);
67 } else if (auto *isec = dyn_cast<CStringInputSection>(inputSection)) {
68 if (isec->getName() == section_names::objcMethname) {
71 in.objcMethnameSection->addInput(isec);
75 in.cStringSection->addInput(isec);
77 } else if (auto *isec = dyn_cast<WordLiteralInputSection>(inputSection)) {
80 in.wordLiteralSection->addInput(isec);
125 if (subsec.isec == this) {
146 if (subsec.isec == this) {
282 auto isec = make<ConcatInputSection>(section, data, align);
285 isec->live = true;
286 section.subsections.push_back({0, isec});
287 return isec;
369 bool macho::isCodeSection(const InputSection *isec) {
370 return sections::isCodeSection(isec->getName(), isec->getSegName(),
371 isec->getFlags());
374 bool macho::isCfStringSection(const InputSection *isec) {
375 return isec->getName() == section_names::cfString &&
376 isec->getSegName() == segment_names::data;
379 bool macho::isClassRefsSection(const InputSection *isec) {
380 return isec->getName() == section_names::objcClassRefs &&
381 isec->getSegName() == segment_names::data;
384 bool macho::isSelRefsSection(const InputSection *isec) {
385 return isec->getName() == section_names::objcSelrefs &&
386 isec->getSegName() == segment_names::data;
389 bool macho::isEhFrameSection(const InputSection *isec) {
390 return isec->getName() == section_names::ehFrame &&
391 isec->getSegName() == segment_names::text;
394 bool macho::isGccExceptTabSection(const InputSection *isec) {
395 return isec->getName() == section_names::gccExceptTab &&
396 isec->getSegName() == segment_names::text;
399 std::string lld::toString(const InputSection *isec) {
400 return (toString(isec->getFile()) + ":(" + isec->getName() + ")").str();