diff options
author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2018-07-31 18:10:37 +0000 |
---|---|---|
committer | Vlad Tsyrklevich <vlad@tsyrklevich.net> | 2018-07-31 18:10:37 +0000 |
commit | 48ed9acede9eb8e8a13ef41f186d217c117dfe5f (patch) | |
tree | 0a1b4c7820cacfcf21cb4140ea2ab50bc795886a /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | |
parent | 5d9b00d15b3d449e8e2eadd5fa7d5d986970418f (diff) | |
download | llvm-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.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 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); -} |