aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorShiva Chen <shiva0217@gmail.com>2018-07-24 06:17:45 +0000
committerShiva Chen <shiva0217@gmail.com>2018-07-24 06:17:45 +0000
commitf5938bfbf9d8168ecd614b9691998b3fe0234e8d (patch)
tree5bc3932080c2a2abc78af3c495763dc748fe45db /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parent4a2879bd5a6904dbabad67429ad9b0527eb1cbd2 (diff)
downloadllvm-f5938bfbf9d8168ecd614b9691998b3fe0234e8d.zip
llvm-f5938bfbf9d8168ecd614b9691998b3fe0234e8d.tar.gz
llvm-f5938bfbf9d8168ecd614b9691998b3fe0234e8d.tar.bz2
Revert "[DebugInfo] Generate DWARF debug information for labels."
This reverts commit b454fa1b4079b6c0a5b1565982d16516385838d7. llvm-svn: 337812
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index 4b8e09a..f3a3cbd 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -118,8 +118,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);
-}