summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-07-24 17:10:09 +0000
committerManman Ren <manman.ren@gmail.com>2013-07-24 17:10:09 +0000
commitfdfc1ebfbc52e752704f8d7a74ff41eacaad2d25 (patch)
treeefc3aaa82eadf9a8b89e9da6a628a60c84cb2cd0 /llvm/lib
parentedf0d38c9d3ef522a43d2cb514c90794eaa50dfd (diff)
downloadbcm5719-llvm-fdfc1ebfbc52e752704f8d7a74ff41eacaad2d25.tar.gz
bcm5719-llvm-fdfc1ebfbc52e752704f8d7a74ff41eacaad2d25.zip
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. llvm-svn: 187052
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index c7cdb80a6ac..2a06e25b871 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -948,6 +948,7 @@ void DebugInfoFinder::processValue(const DbgValueInst *DVI) {
if (!NodesSeen.insert(DV))
return;
+ processScope(DIVariable(N).getContext());
processType(DIVariable(N).getType());
}
OpenPOWER on IntegriCloud