Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp291 int SectionFlags = ASTContext::PSF_Read; in ActOnPragmaClangSection() local
295 SectionFlags |= ASTContext::PSF_Write | ASTContext::PSF_ZeroInit; in ActOnPragmaClangSection()
299 SectionFlags |= ASTContext::PSF_Write; in ActOnPragmaClangSection()
309 SectionFlags |= ASTContext::PSF_Execute; in ActOnPragmaClangSection()
327 if (UnifySection(SecName, SectionFlags, PragmaLoc)) in ActOnPragmaClangSection()
694 bool Sema::UnifySection(StringRef SectionName, int SectionFlags, in UnifySection() argument
703 ASTContext::SectionInfo(Decl, PragmaLocation, SectionFlags); in UnifySection()
708 if (Section.SectionFlags == SectionFlags || in UnifySection()
709 ((SectionFlags & ASTContext::PSF_Implicit) && in UnifySection()
710 !(Section.SectionFlags & ASTContext::PSF_Implicit))) in UnifySection()
[all …]
H A DSemaDecl.cpp14413 int SectionFlags = ASTContext::PSF_Read; in CheckCompleteVariableDeclaration() local
14421 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
14426 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
14427 UnifySection(SA->getName(), SectionFlags, var); in CheckCompleteVariableDeclaration()
14440 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
14445 if (UnifySection(SectionName, SectionFlags, var)) in CheckCompleteVariableDeclaration()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp177 parseSectionFlagSet(ArrayRef<StringRef> SectionFlags) { in parseSectionFlagSet() argument
179 for (StringRef Flag : SectionFlags) { in parseSectionFlagSet()
250 SmallVector<StringRef, 6> SectionFlags; in parseSetSectionFlagValue() local
251 Section2Flags.second.split(SectionFlags, ','); in parseSetSectionFlagValue()
252 Expected<SectionFlag> ParsedFlagSet = parseSectionFlagSet(SectionFlags); in parseSetSectionFlagValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h3438 int SectionFlags; member
3442 int SectionFlags) in SectionInfo()
3444 SectionFlags(SectionFlags) {} in SectionInfo()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1088 int SectionFlags = ASTContext::PSF_Read; in HandlePragmaMSSection() local
1124 SectionFlags |= Flag; in HandlePragmaMSSection()
1131 SectionFlags |= ASTContext::PSF_Write; in HandlePragmaMSSection()
1143 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h1913 bool UnifySection(StringRef SectionName, int SectionFlags,
1915 bool UnifySection(StringRef SectionName, int SectionFlags,
1925 void ActOnPragmaMSSection(SourceLocation PragmaLocation, int SectionFlags,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp5580 if ((SI.SectionFlags & ASTContext::PSF_Write) == 0) in EmitGlobalVarDefinition()