Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DIE.cpp
index bc4125649cdf835131b2bfbd163c363e0945944c..331b07cbf3a1b99a5a5a72ce81df1b6588b80a6d 100644 (file)
@@ -112,15 +112,6 @@ DIE::~DIE() {
     delete Children[i];
 }
 
-/// addSiblingOffset - Add a sibling offset field to the front of the DIE.
-///
-DIEValue *DIE::addSiblingOffset(BumpPtrAllocator &A) {
-  DIEInteger *DI = new (A) DIEInteger(0);
-  Values.insert(Values.begin(), DI);
-  Abbrev.AddFirstAttribute(dwarf::DW_AT_sibling, dwarf::DW_FORM_ref4);
-  return DI;
-}
-
 #ifndef NDEBUG
 void DIE::print(raw_ostream &O, unsigned IncIndent) {
   IndentCount += IncIndent;