[llvm-branch-commits] [llvm-gcc-branch] r95905 - /llvm-gcc-4.2/branches/Apple/Hermes/gcc/llvm-debug.cpp
Bill Wendling
isanbard at gmail.com
Thu Feb 11 11:35:43 PST 2010
Author: void
Date: Thu Feb 11 13:35:43 2010
New Revision: 95905
URL: http://llvm.org/viewvc/llvm-project?rev=95905&view=rev
Log:
$ svn merge -c 95842 https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
--- Merging r95842 into '.':
U gcc/llvm-debug.cpp
Modified:
llvm-gcc-4.2/branches/Apple/Hermes/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/branches/Apple/Hermes/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Hermes/gcc/llvm-debug.cpp?rev=95905&r1=95904&r2=95905&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Hermes/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Hermes/gcc/llvm-debug.cpp Thu Feb 11 13:35:43 2010
@@ -700,7 +700,9 @@
StringRef PName = FromTy.getName();
DIType PTy =
- DebugFactory.CreateDerivedType(Tag, findRegion(TYPE_CONTEXT(type)), PName,
+ DebugFactory.CreateDerivedType(Tag, findRegion(TYPE_CONTEXT(type)),
+ Tag == DW_TAG_pointer_type ?
+ StringRef() : PName,
getOrCreateCompileUnit(NULL),
0 /*line no*/,
NodeSizeInBits(type),
More information about the llvm-branch-commits
mailing list