mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 20:34:58 +00:00
[COFF] Add IMAGE_SCN_TYPE_NOLOAD to SectionCharacteristics
llvm-svn: 243658
This commit is contained in:
parent
99ac371609
commit
e5042e5d24
@ -248,6 +248,7 @@ namespace COFF {
|
||||
enum SectionCharacteristics : uint32_t {
|
||||
SC_Invalid = 0xffffffff,
|
||||
|
||||
IMAGE_SCN_TYPE_NOLOAD = 0x00000002,
|
||||
IMAGE_SCN_TYPE_NO_PAD = 0x00000008,
|
||||
IMAGE_SCN_CNT_CODE = 0x00000020,
|
||||
IMAGE_SCN_CNT_INITIALIZED_DATA = 0x00000040,
|
||||
|
@ -211,6 +211,7 @@ void ScalarBitSetTraits<COFF::Characteristics>::bitset(
|
||||
|
||||
void ScalarBitSetTraits<COFF::SectionCharacteristics>::bitset(
|
||||
IO &IO, COFF::SectionCharacteristics &Value) {
|
||||
BCase(IMAGE_SCN_TYPE_NOLOAD);
|
||||
BCase(IMAGE_SCN_TYPE_NO_PAD);
|
||||
BCase(IMAGE_SCN_CNT_CODE);
|
||||
BCase(IMAGE_SCN_CNT_INITIALIZED_DATA);
|
||||
|
@ -219,6 +219,7 @@ static const EnumEntry<COFF::DLLCharacteristics> PEDLLCharacteristics[] = {
|
||||
|
||||
static const EnumEntry<COFF::SectionCharacteristics>
|
||||
ImageSectionCharacteristics[] = {
|
||||
LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NOLOAD ),
|
||||
LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_TYPE_NO_PAD ),
|
||||
LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_CNT_CODE ),
|
||||
LLVM_READOBJ_ENUM_ENT(COFF, IMAGE_SCN_CNT_INITIALIZED_DATA ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user