DebugInfo: Assume all subprogram DIEs have been created before any abstract subprogra...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 19 May 2014 23:16:19 +0000 (23:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 19 May 2014 23:16:19 +0000 (23:16 +0000)
commitc108a06c86467e8f1583b2c4176e809c999efc42
treed4c99f9fe446a93c647d9959f964cc0a16d7e0b9
parente267439365eca79344e9cc933ae82474d23f9786
DebugInfo: Assume all subprogram DIEs have been created before any abstract subprograms are constructed.

Since we visit the whole list of subprograms for each CU at module
start, this is clearly true - don't test for the case, just assert it.

A few old test cases seemed to have incomplete subprogram lists, but any
attempt to reproduce them shows full subprogram lists that even include
entities that have been completely inlined and the out of line
definition removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209178 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/CodeGen/X86/stack-protector-dbginfo.ll
test/DebugInfo/X86/dbg-value-location.ll