OSDN Git Service

Rename PaddedSize to AllocSize, in the hope that this
[android-x86/external-llvm.git] / lib / Target / ARM / AsmPrinter / ARMAsmPrinter.cpp
index d5def37..062423a 100644 (file)
@@ -838,7 +838,7 @@ void ARMAsmPrinter::printModuleLevelGV(const GlobalVariable* GVar) {
   std::string name = Mang->getValueName(GVar);
   Constant *C = GVar->getInitializer();
   const Type *Type = C->getType();
-  unsigned Size = TD->getTypePaddedSize(Type);
+  unsigned Size = TD->getTypeAllocSize(Type);
   unsigned Align = TD->getPreferredAlignmentLog(GVar);
   bool isDarwin = Subtarget->isTargetDarwin();