DebugInfo: Reference abstract definitions from variables in concrete definitions...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Jun 2014 22:35:44 +0000 (22:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 13 Jun 2014 22:35:44 +0000 (22:35 +0000)
commitf154f3b59239def7a33a8e0d4bce0f9165247b47
treea5610ce3edbb73a7f8163435c4cc973352423fdb
parent869d3efac9f13b12e36255aaf5ae88c8e05347df
DebugInfo: Reference abstract definitions from variables in concrete definitions that preceed their first inline definition.

Rather than relying on abstract variables looked up at the time the
concrete variable is created, look them up at the end of the module to
ensure they're referenced even if they're created after the concrete
definition. This completes/matches the work done in r209677 to handle
this for the subprograms themselves.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
test/DebugInfo/X86/dbg-value-inlined-parameter.ll