Lines Matching refs:ELF
1 //===- lib/MC/MCSectionELF.cpp - ELF Code Section Representation ----------===//
14 #include "llvm/Support/ELF.h"
66 !(Flags & ELF::SHF_MERGE)) {
67 if (Flags & ELF::SHF_ALLOC)
69 if (Flags & ELF::SHF_EXECINSTR)
71 if (Flags & ELF::SHF_WRITE)
73 if (Flags & ELF::SHF_TLS)
80 if (Flags & ELF::SHF_ALLOC)
82 if (Flags & ELF::SHF_EXECINSTR)
84 if (Flags & ELF::SHF_GROUP)
86 if (Flags & ELF::SHF_WRITE)
88 if (Flags & ELF::SHF_MERGE)
90 if (Flags & ELF::SHF_STRINGS)
92 if (Flags & ELF::SHF_TLS)
96 if (Flags & ELF::XCORE_SHF_CP_SECTION)
98 if (Flags & ELF::XCORE_SHF_DP_SECTION)
111 if (Type == ELF::SHT_INIT_ARRAY)
113 else if (Type == ELF::SHT_FINI_ARRAY)
115 else if (Type == ELF::SHT_PREINIT_ARRAY)
117 else if (Type == ELF::SHT_NOBITS)
119 else if (Type == ELF::SHT_NOTE)
121 else if (Type == ELF::SHT_PROGBITS)
125 assert(Flags & ELF::SHF_MERGE);
129 if (Flags & ELF::SHF_GROUP)
135 return getFlags() & ELF::SHF_EXECINSTR;
139 return getType() == ELF::SHT_NOBITS;