Lines Matching defs:Name

114 getELFKindForNamedSection(StringRef Name, SectionKind K) {
121 if (Name.empty() || Name[0] != '.') return K;
124 if (Name == ".bss" ||
125 Name.startswith(".bss.") ||
126 Name.startswith(".gnu.linkonce.b.") ||
127 Name.startswith(".llvm.linkonce.b.") ||
128 Name == ".sbss" ||
129 Name.startswith(".sbss.") ||
130 Name.startswith(".gnu.linkonce.sb.") ||
131 Name.startswith(".llvm.linkonce.sb."))
134 if (Name == ".tdata" ||
135 Name.startswith(".tdata.") ||
136 Name.startswith(".gnu.linkonce.td.") ||
137 Name.startswith(".llvm.linkonce.td."))
140 if (Name == ".tbss" ||
141 Name.startswith(".tbss.") ||
142 Name.startswith(".gnu.linkonce.tb.") ||
143 Name.startswith(".llvm.linkonce.tb."))
150 static unsigned getELFSectionType(StringRef Name, SectionKind K) {
152 if (Name == ".init_array")
155 if (Name == ".fini_array")
158 if (Name == ".preinit_array")
262 SmallString<128> Name(Prefix);
263 TM.getNameWithPrefix(Name, GV, Mang, true);
271 Group = Name.substr(Prefix.size());
275 return getContext().getELFSection(Name.str(),
276 getELFSectionType(Name.str(), Kind),
301 std::string Name = SizeSpec + utostr(Align);
302 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
365 std::string Name = std::string(".init_array.") + utostr(Priority);
366 return getContext().getELFSection(Name, ELF::SHT_INIT_ARRAY,
370 std::string Name = std::string(".ctors.") + utostr(65535 - Priority);
371 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
385 std::string Name = std::string(".fini_array.") + utostr(Priority);
386 return getContext().getELFSection(Name, ELF::SHT_FINI_ARRAY,
390 std::string Name = std::string(".dtors.") + utostr(65535 - Priority);
391 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
812 StringRef Name = GV->getSection();
830 return getContext().getCOFFSection(Name,
867 const char *Name = getCOFFSectionNameForUniqueGlobal(Kind);
883 return getContext().getCOFFSection(Name, Characteristics, Kind,