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/DwarfUnit.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/DwarfUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 35a82a8..600f4a78 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -401,12 +401,6 @@ void DwarfUnit::addSourceLine(DIE &Die, const DISubprogram *SP) { addSourceLine(Die, SP->getLine(), SP->getFile()); } -void DwarfUnit::addSourceLine(DIE &Die, const DILabel *L) { - assert(L); - - addSourceLine(Die, L->getLine(), L->getFile()); -} - void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { assert(Ty); |