From 77348a5703d4dd697e834b4ff422d5d60ddf8f80 Mon Sep 17 00:00:00 2001 From: Marcello Maggioni Date: Fri, 24 Oct 2014 02:46:50 +0000 Subject: [PATCH] Added reset of LexicalScope in LiveDebugVariables reset function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220545 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/LiveDebugVariables.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/LiveDebugVariables.cpp b/lib/CodeGen/LiveDebugVariables.cpp index 72d0e138a3f..16248510880 100644 --- a/lib/CodeGen/LiveDebugVariables.cpp +++ b/lib/CodeGen/LiveDebugVariables.cpp @@ -347,6 +347,7 @@ public: "Dbg values are not emitted in LDV"); EmitDone = false; ModifiedMF = false; + LS.reset(); } /// mapVirtReg - Map virtual register to an equivalence class. -- 2.34.1