[llvm-branch-commits] [llvm-branch] r84574 - /llvm/branches/Apple/Leela/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Bill Wendling
isanbard at gmail.com
Mon Oct 19 17:42:37 PDT 2009
Author: void
Date: Mon Oct 19 19:42:37 2009
New Revision: 84574
URL: http://llvm.org/viewvc/llvm-project?rev=84574&view=rev
Log:
$ svn merge -c 84276 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r84276 into '.':
U lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified:
llvm/branches/Apple/Leela/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/branches/Apple/Leela/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=84574&r1=84573&r2=84574&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/branches/Apple/Leela/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Mon Oct 19 19:42:37 2009
@@ -917,7 +917,7 @@
AddType(DW_Unit, &Buffer, FromTy);
// Add name if not anonymous or intermediate type.
- if (Name)
+ if (Name && Tag != dwarf::DW_TAG_pointer_type)
AddString(&Buffer, dwarf::DW_AT_name, dwarf::DW_FORM_string, Name);
// Add size if non-zero (derived types might be zero-sized.)
More information about the llvm-branch-commits
mailing list