llvm.org GIT mirror llvm / cfe562c
[COFF] Add IMAGE_SCN_TYPE_NOLOAD to SectionCharacteristics git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243658 91177308-0d34-0410-b5e6-96231b3b80d8 David Majnemer 5 years ago
3 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
247247 enum SectionCharacteristics : uint32_t {
248248 SC_Invalid = 0xffffffff,
249249
250 IMAGE_SCN_TYPE_NOLOAD = 0x00000002,
250251 IMAGE_SCN_TYPE_NO_PAD = 0x00000008,
251252 IMAGE_SCN_CNT_CODE = 0x00000020,
252253 IMAGE_SCN_CNT_INITIALIZED_DATA = 0x00000040,
210210
211211 void ScalarBitSetTraits::bitset(
212212 IO &IO, COFF::SectionCharacteristics &Value) {
213 BCase(IMAGE_SCN_TYPE_NOLOAD);
213214 BCase(IMAGE_SCN_TYPE_NO_PAD);
214215 BCase(IMAGE_SCN_CNT_CODE);
215216 BCase(IMAGE_SCN_CNT_INITIALIZED_DATA);
218218
219219 static const EnumEntry
220220 ImageSectionCharacteristics[] = {
221 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NOLOAD ),
221222 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NO_PAD ),
222223 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_CNT_CODE ),
223224 LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_CNT_INITIALIZED_DATA ),