Home
last modified time | relevance | path

Searched refs:SectionFlags (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAttr.cpp277 int SectionFlags = ASTContext::PSF_Read; in ActOnPragmaClangSection() local
285 SectionFlags |= ASTContext::PSF_Write; in ActOnPragmaClangSection()
295 SectionFlags |= ASTContext::PSF_Execute; in ActOnPragmaClangSection()
313 if (UnifySection(SecName, SectionFlags, PragmaLoc)) in ActOnPragmaClangSection()
697 bool Sema::UnifySection(StringRef SectionName, int SectionFlags, in UnifySection() argument
711 if (Section.SectionFlags == SectionFlags || in UnifySection()
712 ((SectionFlags & ASTContext::PSF_Implicit) && in UnifySection()
713 !(Section.SectionFlags & ASTContext::PSF_Implicit))) in UnifySection()
727 int SectionFlags, in UnifySection() argument
732 if (Section.SectionFlags == SectionFlags) in UnifySection()
[all …]
H A DSemaDecl.cpp13746 int SectionFlags = ASTContext::PSF_Read; in CheckCompleteVariableDeclaration() local
13752 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
13756 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
13759 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
13763 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
13764 UnifySection(SA->getName(), SectionFlags, var); in CheckCompleteVariableDeclaration()
13766 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
13771 if (UnifySection(SectionName, SectionFlags, var)) in CheckCompleteVariableDeclaration()
/llvm-project-15.0.7/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp195 parseSectionFlagSet(ArrayRef<StringRef> SectionFlags) { in parseSectionFlagSet() argument
197 for (StringRef Flag : SectionFlags) { in parseSectionFlagSet()
268 SmallVector<StringRef, 6> SectionFlags; in parseSetSectionFlagValue() local
269 Section2Flags.second.split(SectionFlags, ','); in parseSetSectionFlagValue()
270 Expected<SectionFlag> ParsedFlagSet = parseSectionFlagSet(SectionFlags); in parseSetSectionFlagValue()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h3300 int SectionFlags; member
3304 int SectionFlags) in SectionInfo()
3306 SectionFlags(SectionFlags) {} in SectionInfo()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParsePragma.cpp974 int SectionFlags = ASTContext::PSF_Read; in HandlePragmaMSSection() local
1010 SectionFlags |= Flag; in HandlePragmaMSSection()
1017 SectionFlags |= ASTContext::PSF_Write; in HandlePragmaMSSection()
1029 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h10305 bool UnifySection(StringRef SectionName, int SectionFlags,
10308 int SectionFlags,
10320 int SectionFlags, StringLiteral *SegmentName);
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp4836 if ((SI.SectionFlags & ASTContext::PSF_Write) == 0) in EmitGlobalVarDefinition()