From 2259400f8e112b580d6e2dfb55066fc94acf2190 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. llvm-svn: 220545 --- llvm/lib/CodeGen/LiveDebugVariables.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 72d0e13..1624851 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/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.7.4