Debug info: Let dbg.values inserted by LowerDbgDeclare inherit the location
authorAdrian Prantl <aprantl@apple.com>
Thu, 24 Apr 2014 18:44:15 +0000 (18:44 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 24 Apr 2014 18:44:15 +0000 (18:44 +0000)
commit807a3c283023cd2b0767a97b5602e232b69b281b
treed439e496b18e73071236f3aa0c584433288dc35e
parent778aacb5a341fc8535025e3f86bc73630010672f
Debug info: Let dbg.values inserted by LowerDbgDeclare inherit the location
of the dbg.value. This gets rid of tons of redundant variable DIEs in
subscopes.

rdar://problem/14874886, rdar://problem/16679936

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207135 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp
test/DebugInfo/X86/formal_parameter.ll [new file with mode: 0644]