summaryrefslogtreecommitdiff
path: root/lib/VMCore/DebugInfoProbe.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-05-23 17:34:18 +0000
committerDevang Patel <dpatel@apple.com>2011-05-23 17:34:18 +0000
commit88c62fc1b4e9134c7acf326cba2ba07295f9347b (patch)
treec9ec7855485f1e1b7f314da08469857420aac7cc /lib/VMCore/DebugInfoProbe.cpp
parentfcc482e48747eb7f9c6d408b73a18da90ae50fa2 (diff)
downloadllvm-88c62fc1b4e9134c7acf326cba2ba07295f9347b.tar.gz
llvm-88c62fc1b4e9134c7acf326cba2ba07295f9347b.tar.bz2
llvm-88c62fc1b4e9134c7acf326cba2ba07295f9347b.tar.xz
Clear list of instructions without DebugLoc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/DebugInfoProbe.cpp')
-rw-r--r--lib/VMCore/DebugInfoProbe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/DebugInfoProbe.cpp b/lib/VMCore/DebugInfoProbe.cpp
index 9a6fb3d5f1..d1275ff58c 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)