Debug Info: improve the Finder.
authorManman Ren <manman.ren@gmail.com>
Tue, 23 Jul 2013 23:10:00 +0000 (23:10 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 23 Jul 2013 23:10:00 +0000 (23:10 +0000)
commit8f1a3cf4c30cd5bfb459b2175b6dc7c6fb11400f
treee0d06758d67c046d904c61fcbe9e689c146a9026
parentf562d11a6d4cd43b29e28f9632cb9af6f1fece5b
Debug Info: improve the Finder.

Improve the Finder to handle context of a DIVariable.
If Scope is a DICompileUnit, add it to the list of CUs.

llvm-svn: 187003
llvm/lib/IR/DebugInfo.cpp
llvm/test/CodeGen/ARM/2009-10-16-Scope.ll
llvm/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
llvm/test/CodeGen/X86/2009-10-16-Scope.ll
llvm/test/CodeGen/X86/2010-07-06-DbgCrash.ll
llvm/test/CodeGen/X86/StackColoring-dbg.ll
llvm/test/CodeGen/X86/dbg-declare.ll
llvm/test/DebugInfo/2010-03-12-llc-crash.ll
llvm/test/Linker/DbgDeclare.ll
llvm/test/Linker/DbgDeclare2.ll