diff options
author | Eric Christopher <echristo@apple.com> | 2012-09-12 18:42:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-09-12 18:42:31 +0000 |
commit | fd1cd572211aae8f73dc073c004b865054a34604 (patch) | |
tree | 94710ca40583f6255ed5206643fcd0c3f5a35f40 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | f58ae5dfc1c939e34e660a21b4ea7d192a37a322 (diff) | |
download | llvm-fd1cd572211aae8f73dc073c004b865054a34604.tar.gz llvm-fd1cd572211aae8f73dc073c004b865054a34604.tar.bz2 llvm-fd1cd572211aae8f73dc073c004b865054a34604.tar.xz |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index b1f0212af5..0fface1e3b 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -330,8 +330,6 @@ DIE *DwarfDebug::updateSubprogramScopeDIE(CompileUnit *SPCU, SPCU->addType(Arg, ATy); if (ATy.isArtificial()) SPCU->addFlag(Arg, dwarf::DW_AT_artificial); - if (ATy.isObjectPointer()) - SPCU->addFlag(Arg, dwarf::DW_AT_object_pointer); SPDie->addChild(Arg); } DIE *SPDeclDie = SPDie; |