Lines Matching defs:Flags
34 bool ParseSectionSwitch(StringRef Section, unsigned Type, unsigned Flags,
195 unsigned Flags, SectionKind Kind) {
203 Section, Type, Flags, Kind),
272 static SectionKind computeSectionKind(unsigned Flags, unsigned ElemSize) {
273 if (Flags & ELF::SHF_EXECINSTR)
275 if (Flags & ELF::SHF_TLS)
277 if (Flags & ELF::SHF_MERGE) {
278 if (Flags & ELF::SHF_STRINGS) {
307 unsigned flags = 0;
312 flags |= ELF::SHF_ALLOC;
315 flags |= ELF::SHF_EXCLUDE;
318 flags |= ELF::SHF_EXECINSTR;
321 flags |= ELF::SHF_WRITE;
324 flags |= ELF::SHF_MERGE;
327 flags |= ELF::SHF_STRINGS;
330 flags |= ELF::SHF_TLS;
333 flags |= ELF::XCORE_SHF_CP_SECTION;
336 flags |= ELF::XCORE_SHF_DP_SECTION;
339 flags |= ELF::SHF_GROUP;
349 return flags;
353 unsigned flags = 0;
362 flags |= ELF::SHF_ALLOC;
364 flags |= ELF::SHF_EXECINSTR;
366 flags |= ELF::SHF_WRITE;
368 flags |= ELF::SHF_TLS;
378 return flags;
413 unsigned Flags = 0;
420 Flags |= ELF::SHF_ALLOC;
422 Flags |= ELF::SHF_EXECINSTR;
450 Flags |= extraFlags;
452 bool Mergeable = Flags & ELF::SHF_MERGE;
453 bool Group = Flags & ELF::SHF_GROUP;
543 Flags |= ELF::SHF_GROUP;
547 SectionKind Kind = computeSectionKind(Flags, Size);
549 SectionName, Type, Flags, Kind, Size, GroupName);