Remove DwarfUnit::LabelEnd in favor of computing the length of the section directly
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfUnit.cpp
index 1b1d3edcc7edad7065a53bb38da28606c3dcc5bf..bdcb8cc11eed3e520ff3303755904dc18a9b051f 100644 (file)
@@ -1750,8 +1750,6 @@ void DwarfUnit::initSection(const MCSection *Section) {
   this->Section = Section;
   this->LabelBegin =
       Asm->GetTempSymbol(Section->getLabelBeginName(), getUniqueID());
-  this->LabelEnd =
-      Asm->GetTempSymbol(Section->getLabelEndName(), getUniqueID());
 }
 
 void DwarfTypeUnit::emitHeader(const MCSymbol *ASectionSym) const {