Lines Matching defs:Section

1039   std::string GetSectionName(StringRef Section, StringRef MachOAttributes);
1052 /// \param Section - The section the variable should go into, or empty.
1058 StringRef Section, CharUnits Align,
1062 StringRef Section, CharUnits Align,
1866 getLinkageTypeForObjCMetadata(CodeGenModule &CGM, StringRef Section) {
1868 (Section.empty() || Section.startswith("__DATA")))
3339 StringRef Section;
3341 Section = (ObjCABI == 2) ? "__DATA, __objc_const"
3345 CreateMetadataVar(Name, values, Section, CGM.getPointerAlign(), true);
3361 StringRef Section;
3363 Section = "__DATA, __objc_const";
3366 CreateMetadataVar(Name, Init, Section, CGM.getPointerAlign(), true);
3636 const char *Section = "__OBJC,__class,regular,no_dead_strip";
3643 GV->setSection(Section);
3647 GV = CreateMetadataVar(Name, values, Section, CGM.getPointerAlign(), true);
4137 StringRef Section,
4141 getLinkageTypeForObjCMetadata(CGM, Section);
4144 if (!Section.empty())
4145 GV->setSection(Section);
4153 StringRef Section,
4158 getLinkageTypeForObjCMetadata(CGM, Section);
4161 if (!Section.empty())
4162 GV->setSection(Section);
4183 StringRef Section;
4186 Section = NonFragile ? "__TEXT,__objc_classname,cstring_literals"
4190 Section = NonFragile ? "__TEXT,__objc_methname,cstring_literals"
4194 Section = NonFragile ? "__TEXT,__objc_methtype,cstring_literals"
4198 Section = "__TEXT,__cstring,cstring_literals";
4209 GV->setSection(Section);
5065 std::string CGObjCCommonMac::GetSectionName(StringRef Section,
5072 return ("__DATA," + Section).str();
5073 return ("__DATA," + Section + "," + MachOAttributes).str();
5076 assert(Section.substr(0, 2) == "__" &&
5078 return Section.substr(2).str();
5080 assert(Section.substr(0, 2) == "__" &&
5082 return ("." + Section.substr(2) + "$B").str();
5115 std::string Section =
5128 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Section",
5129 llvm::MDString::get(VMContext, Section));
6215 // Section name is obtained by calling GetSectionName, which returns