Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaAttr.cpp280 int SectionFlags = ASTContext::PSF_Read; in ActOnPragmaClangSection() local
284 SectionFlags |= ASTContext::PSF_Write | ASTContext::PSF_ZeroInit; in ActOnPragmaClangSection()
288 SectionFlags |= ASTContext::PSF_Write; in ActOnPragmaClangSection()
298 SectionFlags |= ASTContext::PSF_Execute; in ActOnPragmaClangSection()
316 if (UnifySection(SecName, SectionFlags, PragmaLoc)) in ActOnPragmaClangSection()
683 bool Sema::UnifySection(StringRef SectionName, int SectionFlags, in UnifySection() argument
692 ASTContext::SectionInfo(Decl, PragmaLocation, SectionFlags); in UnifySection()
697 if (Section.SectionFlags == SectionFlags || in UnifySection()
698 ((SectionFlags & ASTContext::PSF_Implicit) && in UnifySection()
699 !(Section.SectionFlags & ASTContext::PSF_Implicit))) in UnifySection()
[all …]
H A DSemaDecl.cpp14129 int SectionFlags = ASTContext::PSF_Read; in CheckCompleteVariableDeclaration() local
14135 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
14139 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
14142 SectionFlags |= ASTContext::PSF_Write; in CheckCompleteVariableDeclaration()
14146 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
14147 UnifySection(SA->getName(), SectionFlags, var); in CheckCompleteVariableDeclaration()
14149 SectionFlags |= ASTContext::PSF_Implicit; in CheckCompleteVariableDeclaration()
14154 if (UnifySection(SectionName, SectionFlags, var)) in CheckCompleteVariableDeclaration()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp211 parseSectionFlagSet(ArrayRef<StringRef> SectionFlags) { in parseSectionFlagSet() argument
213 for (StringRef Flag : SectionFlags) { in parseSectionFlagSet()
284 SmallVector<StringRef, 6> SectionFlags; in parseSetSectionFlagValue() local
285 Section2Flags.second.split(SectionFlags, ','); in parseSetSectionFlagValue()
286 Expected<SectionFlag> ParsedFlagSet = parseSectionFlagSet(SectionFlags); in parseSetSectionFlagValue()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h3318 int SectionFlags; member
3322 int SectionFlags) in SectionInfo()
3324 SectionFlags(SectionFlags) {} in SectionInfo()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParsePragma.cpp981 int SectionFlags = ASTContext::PSF_Read; in HandlePragmaMSSection() local
1017 SectionFlags |= Flag; in HandlePragmaMSSection()
1024 SectionFlags |= ASTContext::PSF_Write; in HandlePragmaMSSection()
1036 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h10635 bool UnifySection(StringRef SectionName, int SectionFlags,
10638 int SectionFlags,
10650 int SectionFlags, StringLiteral *SegmentName);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp5000 if ((SI.SectionFlags & ASTContext::PSF_Write) == 0) in EmitGlobalVarDefinition()