summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-10 16:49:07 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-10 16:49:07 +0000
commit853f658ed1ae77a9939ea44328805143f049492d (patch)
tree5b7d647b7b64684a30c9d16ae640028bf2c47c2d
parent71313f88cb9ad3b30eaede19cbbb4ef1be1ff882 (diff)
downloadllvm-853f658ed1ae77a9939ea44328805143f049492d.tar.gz
llvm-853f658ed1ae77a9939ea44328805143f049492d.tar.bz2
llvm-853f658ed1ae77a9939ea44328805143f049492d.tar.xz
Remove some prototype code accidentally committed in r201043
Thanks to Chandler for the catch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201095 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp1
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h13
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 7954423141..8637c4d651 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -771,7 +771,6 @@ DwarfCompileUnit *DwarfDebug::constructDwarfCompileUnit(DICompileUnit DIUnit) {
Asm->OutStreamer.hasRawTextSupport() || (NewCU->getUniqueID() == 0);
if (!useSplitDwarf()) {
- NewCU->setStatementListIndex(Die->getValues().size());
// DW_AT_stmt_list is a offset of line number information for this
// compile unit in debug_line section. For split dwarf this is
// left in the skeleton CU and so not included.
diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.h b/lib/CodeGen/AsmPrinter/DwarfUnit.h
index 61a50a7936..3f42e2f672 100644
--- a/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -534,8 +534,6 @@ private:
};
class DwarfCompileUnit : public DwarfUnit {
- unsigned statementListIndex;
-
public:
DwarfCompileUnit(unsigned UID, DIE *D, DICompileUnit Node, AsmPrinter *A,
DwarfDebug *DW, DwarfFile *DWU);
@@ -547,17 +545,6 @@ public:
/// addLabelAddress - Add a dwarf label attribute data and value using
/// either DW_FORM_addr or DW_FORM_GNU_addr_index.
void addLabelAddress(DIE *Die, dwarf::Attribute Attribute, MCSymbol *Label);
-
- void setStatementListIndex(unsigned statementListIndex) {
- this->statementListIndex = statementListIndex;
- }
-
- void initStatementList(DIE *D) const {
- DIE *UD = getUnitDie();
- D->addValue(dwarf::DW_AT_stmt_list,
- UD->getAbbrev().getData()[statementListIndex].getForm(),
- UD->getValues()[statementListIndex]);
- }
};
class DwarfTypeUnit : public DwarfUnit {