aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2018-07-31 18:10:37 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2018-07-31 18:10:37 +0000
commit48ed9acede9eb8e8a13ef41f186d217c117dfe5f (patch)
tree0a1b4c7820cacfcf21cb4140ea2ab50bc795886a /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parent5d9b00d15b3d449e8e2eadd5fa7d5d986970418f (diff)
downloadllvm-48ed9acede9eb8e8a13ef41f186d217c117dfe5f.zip
llvm-48ed9acede9eb8e8a13ef41f186d217c117dfe5f.tar.gz
llvm-48ed9acede9eb8e8a13ef41f186d217c117dfe5f.tar.bz2
Revert "[DebugInfo] Generate DWARF debug information for labels."
This reverts commits r338390 and r338398, they were causing LSan failures on the ASan bot. llvm-svn: 338408
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 4887ea8..049f349 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -98,8 +98,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);
-}