[llvm-commits] [llvm] r93304 - /llvm/trunk/lib/VMCore/Mangler.cpp
Chris Lattner
sabre at nondot.org
Tue Jan 12 23:50:21 PST 2010
Author: lattner
Date: Wed Jan 13 01:50:21 2010
New Revision: 93304
URL: http://llvm.org/viewvc/llvm-project?rev=93304&view=rev
Log:
don't add the \1 to the name.
Modified:
llvm/trunk/lib/VMCore/Mangler.cpp
Modified: llvm/trunk/lib/VMCore/Mangler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Mangler.cpp?rev=93304&r1=93303&r2=93304&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Mangler.cpp (original)
+++ llvm/trunk/lib/VMCore/Mangler.cpp Wed Jan 13 01:50:21 2010
@@ -131,7 +131,7 @@
}
// Add the piece that we already scanned through.
- OutName.append(X.begin(), I);
+ OutName.append(X.begin()+!NeedPrefix, I);
// Otherwise, construct the string the expensive way.
for (StringRef::iterator E = X.end(); I != E; ++I) {
More information about the llvm-commits
mailing list