Lines Matching refs:Name
93 getELFKindForNamedSection(StringRef Name, SectionKind K) {
99 if (Name.empty() || Name[0] != '.') return K;
102 if (Name == ".bss" ||
103 Name.startswith(".bss.") ||
104 Name.startswith(".gnu.linkonce.b.") ||
105 Name.startswith(".llvm.linkonce.b.") ||
106 Name == ".sbss" ||
107 Name.startswith(".sbss.") ||
108 Name.startswith(".gnu.linkonce.sb.") ||
109 Name.startswith(".llvm.linkonce.sb."))
112 if (Name == ".tdata" ||
113 Name.startswith(".tdata.") ||
114 Name.startswith(".gnu.linkonce.td.") ||
115 Name.startswith(".llvm.linkonce.td."))
118 if (Name == ".tbss" ||
119 Name.startswith(".tbss.") ||
120 Name.startswith(".gnu.linkonce.tb.") ||
121 Name.startswith(".llvm.linkonce.tb."))
128 static unsigned getELFSectionType(StringRef Name, SectionKind K) {
130 if (Name == ".init_array")
133 if (Name == ".fini_array")
136 if (Name == ".preinit_array")
179 // Infer section flags from the section name if we can.
187 /// getSectionPrefixForGlobal - Return the section prefix name used by options
218 // into a 'uniqued' section name, create and return the section now.
224 SmallString<128> Name(Prefix, Prefix+strlen(Prefix));
226 Name.append(Sym->getName().begin(), Sym->getName().end());
234 return getContext().getELFSection(Name.str(),
235 getELFSectionType(Name.str(), Kind),
260 std::string Name = SizeSpec + utostr(Align);
261 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
324 SmallString<128> Name;
325 Mang->getNameWithPrefix(Name, GV, true);
326 Name += ".DW.stub";
330 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
479 // Check whether the mangled name has the "Private" or "LinkerPrivate" prefix.
502 SmallString<128> Name;
503 Mang->getNameWithPrefix(Name, GV, true);
504 Name += "$non_lazy_ptr";
508 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
532 SmallString<128> Name;
533 Mang->getNameWithPrefix(Name, GV, true);
534 Name += "$non_lazy_ptr";
538 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
609 // into a 'uniqued' section name, create and return the section now.
612 SmallString<128> Name(Prefix, Prefix+strlen(Prefix));
614 Name.append(Sym->getName().begin() + 1, Sym->getName().end());
620 return getContext().getCOFFSection(Name.str(), Characteristics,