DebugInfo: Create abstract function definitions even when concrete definitions precee...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 27 May 2014 18:37:55 +0000 (18:37 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 27 May 2014 18:37:55 +0000 (18:37 +0000)
commit482097d0981642624a727ba83b4926082f44982f
tree9644e8248162c1a153e292871c5076c2d410a3b8
parent2910f6208463948a77d48dc1021446a27be96e4a
DebugInfo: Create abstract function definitions even when concrete definitions preceed inline definitions.

After much puppetry, here's the major piece of the work to ensure that
even when a concrete definition preceeds all inline definitions, an
abstract definition is still created and referenced from both concrete
and inline definitions.

Variables are still broken in this case (see comment in
dbg-value-inlined-parameter.ll test case) and will be addressed in
follow up work.

llvm-svn: 209677
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/X86/concrete_out_of_line.ll
llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
llvm/test/DebugInfo/cross-cu-inlining.ll