[llvm-commits] [llvm] r132113 - /llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Charles Davis
cdavis at mines.edu
Wed May 25 22:35:55 PDT 2011
Author: cdavis
Date: Thu May 26 00:35:55 2011
New Revision: 132113
URL: http://llvm.org/viewvc/llvm-project?rev=132113&view=rev
Log:
Revert r132111. I built Release (without Asserts), so I didn't know about the
assert that prevented setting alignment on section creation.
Modified:
llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Modified: llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp?rev=132113&r1=132112&r2=132113&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp Thu May 26 00:35:55 2011
@@ -994,7 +994,6 @@
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 @@
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());
More information about the llvm-commits
mailing list