DebugInfo: Don't include DW_AT_inline on each abstract definition multiple times.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 19 May 2014 22:07:16 +0000 (22:07 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 19 May 2014 22:07:16 +0000 (22:07 +0000)
commit76f193825c63e7b93b943890a2ed22086fe3bc2d
tree479137d5af0ab61cc6c12c8d738bb1f292547457
parentdf29a1035944a6cc97e419b8e693deef8735b7fa
DebugInfo: Don't include DW_AT_inline on each abstract definition multiple times.

When I refactored this in r208636 I accidentally caused this to be added
multiple times to each abstract subprogram (not accounting for the
deduplicating effect of the InlinedSubprogramDIEs set).

This got better in r208798 when the abstract definitions got the
attribute added to them at construction time, but still had the
redundant copies introduced in r208636.

This commit removes those excess DW_AT_inlines and relies solely on the
insertion in r208798.

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