Fix the output of the DW_TAG_friend tag to include DW_AT_friend
authorEric Christopher <echristo@apple.com>
Wed, 28 Mar 2012 07:34:31 +0000 (07:34 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 28 Mar 2012 07:34:31 +0000 (07:34 +0000)
commit663e0cf73dcf2bfbbfc22b49c739d54916652d1c
tree88eed87ea70f86b187e3a39e3c52a319b5c750e1
parent30fe94ea43bd122fb4fd26b84bcf62f8096d4293
Fix the output of the DW_TAG_friend tag to include DW_AT_friend
and not the rest of the member tag.

Fixes PR11695

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153570 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
test/DebugInfo/X86/DW_TAG_friend.ll [new file with mode: 0644]