[llvm-commits] [llvm-gcc-4.2] r83084 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Tue Sep 29 11:41:29 PDT 2009
Author: dpatel
Date: Tue Sep 29 13:41:28 2009
New Revision: 83084
URL: http://llvm.org/viewvc/llvm-project?rev=83084&view=rev
Log:
DebugInfo interface does not use std::string now.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=83084&r1=83083&r2=83084&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Tue Sep 29 13:41:28 2009
@@ -500,8 +500,7 @@
Flags |= llvm::DIType::FlagBlockByrefStruct;
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