diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2018-08-14 17:54:41 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2018-08-14 17:54:41 +0000 |
commit | f446282aad4ce40b0c4570813261b78c527a588b (patch) | |
tree | 4da6c331bd1e47a55daa209be5c40cba48d6ae98 /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | |
parent | abf94118c5561171bab909c08ae5b89fada1ffa7 (diff) | |
download | llvm-f446282aad4ce40b0c4570813261b78c527a588b.zip llvm-f446282aad4ce40b0c4570813261b78c527a588b.tar.gz llvm-f446282aad4ce40b0c4570813261b78c527a588b.tar.bz2 |
Revert "[DebugInfo] Generate DWARF debug information for labels. (Fix leak problems)"
This reverts commit cb8c5e417d55141f3f079a8a876e786f44308336 / r339676.
This causing a test to fail in http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/48406/
LLVM :: DebugInfo/Generic/debug-label.ll
llvm-svn: 339700
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp index 0ab9ea8..96149fd6 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp @@ -104,8 +104,3 @@ bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { } return true; } - -void DwarfFile::addScopeLabel(LexicalScope *LS, DbgLabel *Label) { - SmallVectorImpl<DbgLabel *> &Labels = ScopeLabels[LS]; - Labels.push_back(Label); -} |