reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Object/ELFObjectFile.h
  484   return getSection(Sec)->sh_flags;
  741   return getSection(Sec)->sh_flags & ELF::SHF_COMPRESSED;
  746   return getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR;
  753          EShdr->sh_flags & ELF::SHF_ALLOC &&
  754          !(EShdr->sh_flags & ELF::SHF_EXECINSTR);
  760   return EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) &&
  800   return getSection(Sec)->sh_flags & ELF::SHF_ALLOC &&
  801          (getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR ||
  802           !(getSection(Sec)->sh_flags & ELF::SHF_WRITE));
  809          EShdr->sh_flags & ELF::SHF_ALLOC;
lib/ObjectYAML/ELFEmitter.cpp
  401       SHeader.sh_flags = *Sec->Flags;
  575     SHeader.sh_flags = *YAMLSec->Flags;
  577     SHeader.sh_flags = ELF::SHF_ALLOC;
  630     SHeader.sh_flags = *YAMLSec->Flags;
  632     SHeader.sh_flags = ELF::SHF_ALLOC;
tools/lld/ELF/InputFiles.cpp
  454   uint64_t flags = sec.sh_flags;
  521     if ((sec.sh_flags & SHF_EXCLUDE) && !config->relocatable) {
  594     if (!(sec.sh_flags & SHF_LINK_ORDER))
tools/lld/ELF/InputSection.cpp
  125     : InputSectionBase(&file, getFlags(hdr.sh_flags),
tools/lld/ELF/OutputSections.cpp
   61   shdr->sh_flags = flags;
tools/llvm-objcopy/ELF/Object.cpp
   74   Shdr.sh_flags = Sec.Flags;
 1446     if (Shdr.sh_flags & SHF_ALLOC) {
 1455     if (Shdr.sh_flags & SHF_ALLOC) {
 1491     if (Name.startswith(".zdebug") || (Shdr.sh_flags & ELF::SHF_COMPRESSED)) {
 1514     Sec.Flags = Shdr.sh_flags;
 1755   Shdr.sh_flags = 0;
tools/llvm-readobj/ELFDumper.cpp
 3221     Fields[7].Str = getGNUFlags(Sec.sh_flags);
 3478   return (((Sec.sh_flags & ELF::SHF_TLS) &&
 3481           (!(Sec.sh_flags & ELF::SHF_TLS) && Phdr.p_type != ELF::PT_TLS));
 3491       (Sec.sh_type == ELF::SHT_NOBITS) && ((Sec.sh_flags & ELF::SHF_TLS) != 0);
 3506   if (!(Sec.sh_flags & ELF::SHF_ALLOC))
 3509       (Sec.sh_type == ELF::SHT_NOBITS) && ((Sec.sh_flags & ELF::SHF_TLS) != 0);
 3528          (!(Sec.sh_flags & ELF::SHF_ALLOC) ||
 3601                           ((Sec.sh_flags & ELF::SHF_TLS) != 0) &&
 5386     W.printFlags("Flags", Sec.sh_flags, makeArrayRef(SectionFlags));
tools/obj2yaml/elf2yaml.cpp
  451   if (Shdr->sh_flags)
  452     S.Flags = static_cast<ELFYAML::ELF_SHF>(Shdr->sh_flags);