OSDN Git Service

Emit DW_TAG_formal_parameter for unnamed parameters.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Jan 2013 07:43:02 +0000 (07:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Jan 2013 07:43:02 +0000 (07:43 +0000)
commit00ece1b846536cb2ba4efefa6e6194c7030e4c63
tree33d621a487113e63634410b873c241189203a6e0
parent835e7bc48e101d92c8bbabf0b52cdcfe35b99c01
Emit DW_TAG_formal_parameter for unnamed parameters.

This change essentially reverts r87069 which came without a test case. It
causes no regressions in the GDB 7.5 test suite & fixes 25 xfails (commit
to the test suite to follow). If anyone can present a test case that
demonstrates why this check is necessary I'd be happy to account for it in one
way or another.

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