Debug Info: improve the Finder.

Improve the Finder to handle context of a DIVariable used by DbgValueInst.
Fix testing cases to make them pass the verifier.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187052 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Manman Ren
2013-07-24 17:10:09 +00:00
parent 6a565e5be6
commit 504a7fb8f9
12 changed files with 65 additions and 62 deletions

View File

@@ -948,6 +948,7 @@ void DebugInfoFinder::processValue(const DbgValueInst *DVI) {
if (!NodesSeen.insert(DV))
return;
processScope(DIVariable(N).getContext());
processType(DIVariable(N).getType());
}