mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Revert "Add some support for dealing with an object pointer on arguments."
This should be done on the subprogram, not the variable itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1109,8 +1109,6 @@ DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) {
|
||||
addType(Arg, ATy);
|
||||
if (ATy.isArtificial())
|
||||
addFlag(Arg, dwarf::DW_AT_artificial);
|
||||
if (ATy.isObjectPointer())
|
||||
addFlag(Arg, dwarf::DW_AT_object_pointer);
|
||||
SPDie->addChild(Arg);
|
||||
}
|
||||
}
|
||||
@@ -1350,8 +1348,6 @@ DIE *CompileUnit::constructVariableDIE(DbgVariable *DV, bool isScopeAbstract) {
|
||||
|
||||
if (DV->isArtificial())
|
||||
addFlag(VariableDie, dwarf::DW_AT_artificial);
|
||||
if (DV->isObjectPointer())
|
||||
addFlag(VariableDie, dwarf::DW_AT_object_pointer);
|
||||
|
||||
if (isScopeAbstract) {
|
||||
DV->setDIE(VariableDie);
|
||||
|
Reference in New Issue
Block a user