Searched refs:SectionFlag (Results 1 – 4 of 4) sorted by relevance
97 static void setSectionFlags(Section &Sec, SectionFlag AllFlags) { in setSectionFlags()113 if ((AllFlags & SectionFlag::SecAlloc) && !(AllFlags & SectionFlag::SecLoad)) in setSectionFlags()115 if (AllFlags & SectionFlag::SecNoload) in setSectionFlags()117 if (!(AllFlags & SectionFlag::SecReadonly)) in setSectionFlags()119 if (AllFlags & SectionFlag::SecDebug) in setSectionFlags()122 if (AllFlags & SectionFlag::SecCode) in setSectionFlags()124 if (AllFlags & SectionFlag::SecData) in setSectionFlags()126 if (AllFlags & SectionFlag::SecShare) in setSectionFlags()128 if (AllFlags & SectionFlag::SecExclude) in setSectionFlags()
176 .CaseLower("alloc", SectionFlag::SecAlloc) in parseSectionRenameFlag()177 .CaseLower("load", SectionFlag::SecLoad) in parseSectionRenameFlag()180 .CaseLower("debug", SectionFlag::SecDebug) in parseSectionRenameFlag()181 .CaseLower("code", SectionFlag::SecCode) in parseSectionRenameFlag()182 .CaseLower("data", SectionFlag::SecData) in parseSectionRenameFlag()183 .CaseLower("rom", SectionFlag::SecRom) in parseSectionRenameFlag()189 .Default(SectionFlag::SecNone); in parseSectionRenameFlag()192 static Expected<SectionFlag>194 SectionFlag ParsedFlags = SectionFlag::SecNone; in parseSectionFlagSet()197 if (ParsedFlag == SectionFlag::SecNone) in parseSectionFlagSet()[all …]
56 enum SectionFlag { enum77 Optional<SectionFlag> NewFlags;82 SectionFlag NewFlags;
74 static uint64_t getNewShfFlags(SectionFlag AllFlags) { in getNewShfFlags()76 if (AllFlags & SectionFlag::SecAlloc) in getNewShfFlags()78 if (!(AllFlags & SectionFlag::SecReadonly)) in getNewShfFlags()80 if (AllFlags & SectionFlag::SecCode) in getNewShfFlags()82 if (AllFlags & SectionFlag::SecMerge) in getNewShfFlags()84 if (AllFlags & SectionFlag::SecStrings) in getNewShfFlags()86 if (AllFlags & SectionFlag::SecExclude) in getNewShfFlags()103 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()111 Flags & (SectionFlag::SecContents | SectionFlag::SecLoad))) in setSectionFlagsAndType()