Stop using MCSectionData in MCAsmLayout.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-05-26 02:00:36 +00:00
parent 369611994b
commit ea3533b4c6
7 changed files with 57 additions and 57 deletions

View File

@@ -950,8 +950,7 @@ void WinCOFFObjectWriter::WriteObject(MCAssembler &Asm,
if (Sec->Number == -1)
continue;
Sec->Header.SizeOfRawData =
Layout.getSectionAddressSize(&Section.getSectionData());
Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(&Section);
if (IsPhysicalSection(Sec)) {
// Align the section data to a four byte boundary.