[llvm-commits] [gcc-plugin] r83106 - /gcc-plugin/trunk/llvm-debug.cpp
Duncan Sands
baldrick at free.fr
Tue Sep 29 13:33:10 PDT 2009
Author: baldrick
Date: Tue Sep 29 15:33:09 2009
New Revision: 83106
URL: http://llvm.org/viewvc/llvm-project?rev=83106&view=rev
Log:
Port commit 83084 from llvm-gcc, fixing the build.
Modified:
gcc-plugin/trunk/llvm-debug.cpp
Modified: gcc-plugin/trunk/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-debug.cpp?rev=83106&r1=83105&r2=83106&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-debug.cpp (original)
+++ gcc-plugin/trunk/llvm-debug.cpp Tue Sep 29 15:33:09 2009
@@ -461,8 +461,7 @@
DW_TAG_reference_type;
expanded_location Loc = GetNodeLocation(type);
- std::string PName;
- FromTy.getName(PName);
+ const char *PName = FromTy.getName();
return DebugFactory.CreateDerivedType(Tag, findRegion(type), PName,
getOrCreateCompileUnit(NULL),
0 /*line no*/,
More information about the llvm-commits
mailing list