From: Devang Patel Date: Mon, 23 May 2011 17:34:18 +0000 (+0000) Subject: Clear list of instructions without DebugLoc. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=88c62fc1b4e9134c7acf326cba2ba07295f9347b;p=oota-llvm.git Clear list of instructions without DebugLoc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131906 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/DebugInfoProbe.cpp b/lib/VMCore/DebugInfoProbe.cpp index 9a6fb3d5f15..d1275ff58ca 100644 --- a/lib/VMCore/DebugInfoProbe.cpp +++ b/lib/VMCore/DebugInfoProbe.cpp @@ -65,6 +65,7 @@ void DebugInfoProbeImpl::initialize(StringRef PName, Function &F) { PassName = PName; DbgVariables.clear(); + MissingDebugLoc.clear(); TheFn = &F; for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI)