mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Revert r132111. I built Release (without Asserts), so I didn't know about the
assert that prevented setting alignment on section creation. llvm-svn: 132113
This commit is contained in:
@@ -994,7 +994,6 @@ void TargetLoweringObjectFileCOFF::Initialize(MCContext &Ctx,
|
||||
PDataSection =
|
||||
getContext().getCOFFSection(".pdata",
|
||||
COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
|
||||
COFF::IMAGE_SCN_ALIGN_4BYTES |
|
||||
COFF::IMAGE_SCN_MEM_READ |
|
||||
COFF::IMAGE_SCN_MEM_WRITE,
|
||||
SectionKind::getDataRel());
|
||||
@@ -1002,7 +1001,6 @@ void TargetLoweringObjectFileCOFF::Initialize(MCContext &Ctx,
|
||||
XDataSection =
|
||||
getContext().getCOFFSection(".xdata",
|
||||
COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
|
||||
COFF::IMAGE_SCN_ALIGN_4BYTES |
|
||||
COFF::IMAGE_SCN_MEM_READ |
|
||||
COFF::IMAGE_SCN_MEM_WRITE,
|
||||
SectionKind::getDataRel());
|
||||
|
||||
Reference in New Issue
Block a user