Reapply r207135 without modifications.
authorAdrian Prantl <aprantl@apple.com>
Fri, 25 Apr 2014 17:01:04 +0000 (17:01 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 25 Apr 2014 17:01:04 +0000 (17:01 +0000)
commita067162dfade58827aea5ee01848a5070e4c90df
tree20b5bf6a6b2df7cd22690d58f237caeed382d284
parent7e96d883473efa300aee116dd2451cc1f9ef9214
Reapply r207135 without modifications.

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@207236 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp
test/DebugInfo/X86/formal_parameter.ll [new file with mode: 0644]