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)
commit7894ffd006bfabd45c75696c9b7cfdda7c7bad9d
tree58606fa9c3bf49fee8c682a58aaef2cb04db916b
parent4f2c29708d3208197f706f6e8841a2f828aea89c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp
test/CodeGen/ARM/2009-10-16-Scope.ll
test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
test/CodeGen/X86/2009-10-16-Scope.ll
test/CodeGen/X86/2010-07-06-DbgCrash.ll
test/CodeGen/X86/StackColoring-dbg.ll
test/CodeGen/X86/dbg-declare.ll
test/DebugInfo/2010-03-12-llc-crash.ll
test/Linker/DbgDeclare.ll
test/Linker/DbgDeclare2.ll