Add the subprogram DIEs to the context they're created with only
authorEric Christopher <echristo@gmail.com>
Thu, 17 Oct 2013 01:31:12 +0000 (01:31 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 17 Oct 2013 01:31:12 +0000 (01:31 +0000)
commitbdfed1687b4288f7edb6faa637774bce903810c8
tree0c2059580c432fdc12526f3637c97ed4176b1293
parentb74b88edac9ab490ba428aef0bdebc957399bbd7
Add the subprogram DIEs to the context they're created with only
if they're a declaration, otherwise they're owned by the compile
unit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192861 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/DebugInfo/X86/template.ll