diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-07-24 17:10:09 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-07-24 17:10:09 +0000 |
commit | 504a7fb8f9499a46d7c62a691cb6fa373e23387b (patch) | |
tree | 726665fe7d6352da28eb3fef28c0e091ed40ebf1 /lib/IR | |
parent | 6a565e5be6c3daa69a32d2cf879df8699c7e0f88 (diff) | |
download | llvm-504a7fb8f9499a46d7c62a691cb6fa373e23387b.tar.gz llvm-504a7fb8f9499a46d7c62a691cb6fa373e23387b.tar.bz2 llvm-504a7fb8f9499a46d7c62a691cb6fa373e23387b.tar.xz |
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
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/DebugInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index c7cdb80a6a..2a06e25b87 100644 --- a/lib/IR/DebugInfo.cpp +++ b/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()); } |