mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
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
This commit is contained in:
@ -1378,8 +1378,6 @@ void CompileUnit::constructContainingTypeDIEs() {
|
||||
/// constructVariableDIE - Construct a DIE for the given DbgVariable.
|
||||
DIE *CompileUnit::constructVariableDIE(DbgVariable *DV, bool isScopeAbstract) {
|
||||
StringRef Name = DV->getName();
|
||||
if (Name.empty())
|
||||
return NULL;
|
||||
|
||||
// Translate tag to proper Dwarf tag.
|
||||
unsigned Tag = DV->getTag();
|
||||
|
Reference in New Issue
Block a user