Clear list of instructions without DebugLoc.
authorDevang Patel <dpatel@apple.com>
Mon, 23 May 2011 17:34:18 +0000 (17:34 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 23 May 2011 17:34:18 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131906 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/DebugInfoProbe.cpp

index 9a6fb3d5f158961dff0bfa396e79b551e51f4bc5..d1275ff58caaa6c00b71905bdc68a5fdfc2bcb12 100644 (file)
@@ -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)