From 0f6b46b8267b1f792d996d1e0cef6340a2dc9008 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 23 May 2011 17:34:18 +0000 Subject: Clear list of instructions without DebugLoc. llvm-svn: 131906 --- llvm/lib/VMCore/DebugInfoProbe.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/VMCore/DebugInfoProbe.cpp') diff --git a/llvm/lib/VMCore/DebugInfoProbe.cpp b/llvm/lib/VMCore/DebugInfoProbe.cpp index 9a6fb3d5f15..d1275ff58ca 100644 --- a/llvm/lib/VMCore/DebugInfoProbe.cpp +++ b/llvm/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) -- cgit v1.2.3