Unbreak buildbots

The next offset should be updated as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Majnemer 2015-02-11 22:51:55 +00:00
parent 98f9153ded
commit 7418cb0ec6

View File

@ -940,7 +940,8 @@ void WinCOFFObjectWriter::WriteObject(MCAssembler &Asm,
if (IsPhysicalSection(Sec)) { if (IsPhysicalSection(Sec)) {
// Align the section data to a four byte boundary. // Align the section data to a four byte boundary.
Sec->Header.PointerToRawData = RoundUpToAlignment(offset, 4); offset = RoundUpToAlignment(offset, 4);
Sec->Header.PointerToRawData = offset;
offset += Sec->Header.SizeOfRawData; offset += Sec->Header.SizeOfRawData;
} }