Searched refs:SectionFlag (Results 1 – 4 of 4) sorted by relevance
97 static uint32_t flagsToCharacteristics(SectionFlag AllFlags, uint32_t OldChar) { in flagsToCharacteristics()112 if ((AllFlags & SectionFlag::SecAlloc) && !(AllFlags & SectionFlag::SecLoad)) in flagsToCharacteristics()114 if (AllFlags & SectionFlag::SecNoload) in flagsToCharacteristics()116 if (!(AllFlags & SectionFlag::SecReadonly)) in flagsToCharacteristics()118 if (AllFlags & SectionFlag::SecDebug) in flagsToCharacteristics()121 if (AllFlags & SectionFlag::SecCode) in flagsToCharacteristics()123 if (AllFlags & SectionFlag::SecData) in flagsToCharacteristics()125 if (AllFlags & SectionFlag::SecShare) in flagsToCharacteristics()127 if (AllFlags & SectionFlag::SecExclude) in flagsToCharacteristics()
178 .CaseLower("alloc", SectionFlag::SecAlloc) in parseSectionRenameFlag()179 .CaseLower("load", SectionFlag::SecLoad) in parseSectionRenameFlag()182 .CaseLower("debug", SectionFlag::SecDebug) in parseSectionRenameFlag()183 .CaseLower("code", SectionFlag::SecCode) in parseSectionRenameFlag()184 .CaseLower("data", SectionFlag::SecData) in parseSectionRenameFlag()185 .CaseLower("rom", SectionFlag::SecRom) in parseSectionRenameFlag()191 .Default(SectionFlag::SecNone); in parseSectionRenameFlag()194 static Expected<SectionFlag>196 SectionFlag ParsedFlags = SectionFlag::SecNone; in parseSectionFlagSet()199 if (ParsedFlag == SectionFlag::SecNone) in parseSectionFlagSet()[all …]
72 static uint64_t getNewShfFlags(SectionFlag AllFlags) { in getNewShfFlags()74 if (AllFlags & SectionFlag::SecAlloc) in getNewShfFlags()76 if (!(AllFlags & SectionFlag::SecReadonly)) in getNewShfFlags()78 if (AllFlags & SectionFlag::SecCode) in getNewShfFlags()80 if (AllFlags & SectionFlag::SecMerge) in getNewShfFlags()82 if (AllFlags & SectionFlag::SecStrings) in getNewShfFlags()84 if (AllFlags & SectionFlag::SecExclude) in getNewShfFlags()101 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType()109 Flags & (SectionFlag::SecContents | SectionFlag::SecLoad))) in setSectionFlagsAndType()
57 enum SectionFlag { enum78 Optional<SectionFlag> NewFlags;83 SectionFlag NewFlags;