[llvm-commits] [llvm] r129010 - /llvm/trunk/lib/VMCore/DebugInfoProbe.cpp
Devang Patel
dpatel at apple.com
Wed Apr 6 10:08:15 PDT 2011
Author: dpatel
Date: Wed Apr 6 12:08:15 2011
New Revision: 129010
URL: http://llvm.org/viewvc/llvm-project?rev=129010&view=rev
Log:
face+palm
Keep track of llvm.dbg.value intrinsics with non null values.
Modified:
llvm/trunk/lib/VMCore/DebugInfoProbe.cpp
Modified: llvm/trunk/lib/VMCore/DebugInfoProbe.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/DebugInfoProbe.cpp?rev=129010&r1=129009&r2=129010&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/DebugInfoProbe.cpp (original)
+++ llvm/trunk/lib/VMCore/DebugInfoProbe.cpp Wed Apr 6 12:08:15 2011
@@ -99,8 +99,8 @@
Addr = DVI->getValue();
Node = DVI->getVariable();
}
- if (Addr) continue;
- DbgVariables.insert(Node);
+ if (Addr)
+ DbgVariables.insert(Node);
}
}
@@ -154,8 +154,8 @@
Addr = DVI->getValue();
Node = DVI->getVariable();
}
- if (Addr) continue;
- DbgVariables2.insert(Node);
+ if (Addr)
+ DbgVariables2.insert(Node);
}
for (std::set<MDNode *>::iterator I = DbgVariables.begin(),
More information about the llvm-commits
mailing list