[DebugInfo] Fix initialization of DwarfCompileUnit::LabelBegin.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Mon, 10 Aug 2020 08:56:30 +0000 (15:56 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Mon, 10 Aug 2020 08:57:21 +0000 (15:57 +0700)
commitd400606f8cb2474a436df42d7d6c897ba6c9c4ee
tree5f8ce36fcafebea85d7bc718178679c12383b9c8
parent69eb7e36aa3c71997811054bb31d4546b08bfff0
[DebugInfo] Fix initialization of DwarfCompileUnit::LabelBegin.

This also fixes the condition in the assertion in
DwarfCompileUnit::getLabelBegin() because it checked something unrelated
to the returned value.

Differential Revision: https://reviews.llvm.org/D85437
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h