projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8cc26
)
don't add the \1 to the name.
author
Chris Lattner
<sabre@nondot.org>
Wed, 13 Jan 2010 07:50:21 +0000
(07:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 13 Jan 2010 07:50:21 +0000
(07:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93304
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Mangler.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Mangler.cpp
b/lib/VMCore/Mangler.cpp
index 4d8a91cbf3396cdf9ac707cf6ffd7f8da8fdb8bb..69a24a0bc2847bccb22ac1c80191b40bf56a273a 100644
(file)
--- a/
lib/VMCore/Mangler.cpp
+++ b/
lib/VMCore/Mangler.cpp
@@
-131,7
+131,7
@@
void Mangler::makeNameProper(SmallVectorImpl<char> &OutName,
}
// 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) {