Move alignment from MCSectionData to MCSection.
[oota-llvm.git] / lib / MC / MCObjectFileInfo.cpp
index 29f5a1d3752cc418695c47fdccf13fa22d9b9d1f..e99f036af160a5628275d162d5cfdacbd4338810 100644 (file)
@@ -768,7 +768,7 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef T, Reloc::Model relocm,
   }
 }
 
-const MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const {
+MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const {
   return Ctx->getELFSection(".debug_types", ELF::SHT_PROGBITS, ELF::SHF_GROUP,
                             0, utostr(Hash));
 }