Revert "DwarfDebug: Pick next location in case of missing location at block begin"
authorMatthias Braun <matze@braunis.de>
Thu, 11 Oct 2018 23:37:58 +0000 (23:37 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 11 Oct 2018 23:37:58 +0000 (23:37 +0000)
commitc7efb6f990456d61cf282865462fdd7300d88198
tree2206e91f80290ff8643df2d9eab8076c20ecdedd
parenta8940439104067a004a05f72a647dea8fab411e1
Revert "DwarfDebug: Pick next location in case of missing location at block begin"

It originally triggered a stepping problem in the debugger, which could
be fixed by adjusting CodeGen/LexicalScopes.cpp however it seems we prefer
the previous behavior anyway.

See the discussion for details: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20181008/593833.html

This reverts commit r343880.
This reverts commit r343874.

llvm-svn: 344318
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/AArch64/line-header.ll
llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
llvm/test/DebugInfo/Mips/delay-slot.ll
llvm/test/DebugInfo/NVPTX/debug-info.ll
llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll
llvm/test/DebugInfo/X86/dwarf-no-source-loc.mir [deleted file]