Lines Matching refs:SHF_ALLOC
75 NewFlags |= ELF::SHF_ALLOC; in getNewShfFlags()
129 (!(Sec.Flags & ELF::SHF_ALLOC) || in setSectionFlagsAndType()
230 if (!(Sec.Flags & SHF_ALLOC) && StringRef(Sec.Name).starts_with(".debug")) { in compressOrDecompressSections()
441 if ((Sec.Flags & SHF_ALLOC) != 0) in replaceAndRemoveSections()
473 return (Sec.Flags & SHF_ALLOC) == 0 && Sec.ParentSegment == nullptr; in replaceAndRemoveSections()
494 return (Sec.Flags & SHF_ALLOC) == 0; in replaceAndRemoveSections()
503 return (Sec.Flags & SHF_ALLOC) != 0 && !Sec.ParentSegment; in replaceAndRemoveSections()
750 if (Sec.Flags & SHF_ALLOC && Sec.Type != SHT_NOTE) in handleArgs()
822 } else if (RelocSec && !(Sec.Flags & SHF_ALLOC)) in handleArgs()
846 if (Sec.Flags & SHF_ALLOC) { in handleArgs()
858 if (TargetSec && (TargetSec->Flags & SHF_ALLOC)) { in handleArgs()