DebugInfo: Omit DW_AT_artificial on DW_TAG_formal_parameters in DW_TAG_inlined_subrou...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 30 Apr 2014 22:41:33 +0000 (22:41 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 30 Apr 2014 22:41:33 +0000 (22:41 +0000)
commite4c1d49b1d9a0cdb91f2b00ab8dda7e0275ae402
treeed363bef062f913e6c10529d743518b4de5cdf40
parent2f253a9a5d9fe50b2b35faf316c6979624c8780e
DebugInfo: Omit DW_AT_artificial on DW_TAG_formal_parameters in DW_TAG_inlined_subroutines.

They just don't need to be there - they're inherited from the abstract
definition. In theory I would like them to be inherited from the
declaration, but the DWARF standard doesn't quite say that... we can
probably do it anyway but I'm less confident about that so I'll leave it
for a separate commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h
test/DebugInfo/X86/inline-member-function.ll