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.cpp394 int SectionFlags = ASTContext::PSF_Read; in ActOnPragmaClangSection() local
398 SectionFlags |= ASTContext::PSF_Write | ASTContext::PSF_ZeroInit; in ActOnPragmaClangSection()
402 SectionFlags |= ASTContext::PSF_Write; in ActOnPragmaClangSection()
412 SectionFlags |= ASTContext::PSF_Execute; in ActOnPragmaClangSection()
430 if (UnifySection(SecName, SectionFlags, PragmaLoc)) in ActOnPragmaClangSection()
795 bool Sema::UnifySection(StringRef SectionName, int SectionFlags, in UnifySection() argument
802 SectionName, Decl, PragmaLocation, SectionFlags); in UnifySection()
807 if (Section.SectionFlags == SectionFlags || in UnifySection()
808 ((SectionFlags & ASTContext::PSF_Implicit) && in UnifySection()
809 !(Section.SectionFlags & ASTContext::PSF_Implicit))) in UnifySection()
[all …]
H A DSemaDecl.cpp14796 int SectionFlags = ASTContext::PSF_Read; in CheckCompleteVariableDeclaration() local
14804 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
14809 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
14810 UnifySection(SA->getName(), SectionFlags, var); in CheckCompleteVariableDeclaration()
14823 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
14828 if (UnifySection(SectionName, SectionFlags, var)) in CheckCompleteVariableDeclaration()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp189 parseSectionFlagSet(ArrayRef<StringRef> SectionFlags) { in parseSectionFlagSet() argument
191 for (StringRef Flag : SectionFlags) { in parseSectionFlagSet()
262 SmallVector<StringRef, 6> SectionFlags; in parseSetSectionFlagValue() local
263 Section2Flags.second.split(SectionFlags, ','); in parseSetSectionFlagValue()
264 Expected<SectionFlag> ParsedFlagSet = parseSectionFlagSet(SectionFlags); in parseSetSectionFlagValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h3677 int SectionFlags; member
3681 int SectionFlags) in SectionInfo()
3683 SectionFlags(SectionFlags) {} in SectionInfo()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1077 int SectionFlags = ASTContext::PSF_Read; in HandlePragmaMSSection() local
1113 SectionFlags |= Flag; in HandlePragmaMSSection()
1120 SectionFlags |= ASTContext::PSF_Write; in HandlePragmaMSSection()
1132 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2220 bool UnifySection(StringRef SectionName, int SectionFlags,
2222 bool UnifySection(StringRef SectionName, int SectionFlags,
2232 void ActOnPragmaMSSection(SourceLocation PragmaLocation, int SectionFlags,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp5905 if ((SI.SectionFlags & ASTContext::PSF_Write) == 0) in EmitGlobalVarDefinition()